Rysowanie 2D

Tuesday Tips 11 - ways to draw a square in BricsCAD

Przez Rose Barfield 6 min 1 lipca 2019
header_square.jpg

As a technical illustrator, I've always found that there is more than one way of completing the same task and every illustrator has their own techniques and methods. One of the best things about BricsCAD is that it offers options. It allows you to work the way that is best for you. To demonstrate this, here are 11 ways to draw a square in BricsCAD. They might just surprise you.

The easy way

Let's start simple. Use POLYGON, by default the number of sides is set to 4. Draw from the center to a vertex, center to side or along an edge.

Tuesday Tips 11 - ways to draw a square in BricsCAD- polygon 1

The almost as easy way

Click the rectangle button, type REC in the Commandline OR right click and select 'Rectangle' from the Quad. So long as DYN is turned 'on', then it's simply a case of typing in the size you want.

Tuesday Tips 11 - ways to draw a square in BricsCAD- square asy

Tip: Hover over the polylines and hold ctrl to select a section of the polyline, repeat this on the opposite side and use Nearest Distance to change the dimensions of the rectangle.

Tuesday Tips 11 - ways to draw a square in BricsCAD- nearest distance

Polylines

You can also create a rectangle using the polyline tool. First, turn on ORTHO. Then, click your starting point and draw 3 polylines at 90 degrees. Complete with  'close'.

Tuesday Tips 11 - ways to draw a square in BricsCAD- polyline

Note: If you draw 4 polylines and then click 'close' an additional, hidden vertex will be created, giving you a 5 sided polygon.

Constraints

This time we're going to turn a non-uniform shape into a square. First, draw out your 4 sided polygon. Don't worry too much about being precise. Then add your constraints. The bonus of this method is that you can then edit any of the constraints at any point to adapt to your needs.

Tuesday Tips 11 - ways to draw a square in BricsCAD- constraintss

Lines

Another option is to draw one line, displace it, rotate with a copy and then join.

Tuesday Tips 11 - ways to draw a square in BricsCAD- lines

Boundary

If you have a selection of lines that already mark out your square, you can use the boundary tool to generate a closed polygon. First check that Enable Boundary Detection is turned 'on'. Then, simply hover over the boundary and use the GENERATEBOUNDARY command.

Tuesday Tips 11 - ways to draw a square in BricsCAD- boundarya

Tip: This also works for hatching.

Extract edges

If you have a cube or any solid with a square side, you can use XEDGES to extract the edges and draw a square. The advantage is that this works on any plane. Ensure that Face Selection is turned 'on'. Then, simply hover over the face and use the XEDGES command.

Tuesday Tips 11 - ways to draw a square in BricsCAD- extract edges

Square the circle

If you have a set of 4, curved, joined polylines you can adjust the bulges to create a square. Hover over a polyline section and hold Ctrl, click to select the section and adjust the bulge in the properties panel.

Tuesday Tips 11 - ways to draw a square in BricsCAD- square-the-circle

PEdit

You can use the straighten option in the PEdit tool library to remove vertices. Complete using Nearest Distance.

Tuesday Tips 11 - ways to draw a square in BricsCAD- polygon to square

Array

If you have one line you can use an ARRAY to rotate it around a central point. Although this does draw a square, you will need to explode the Array and then join the lines in order to create a completed square.

Tuesday Tips 11 - ways to draw a square in BricsCAD- array

Hint: In this example I have marked my center of rotation with a point.

LISP

LISP is a little scary if you've never used it before, but extremely powerful for repetitive and complex tasks. To draw the same square of 50×50, use the following commands in the command line:

(setq a (getpoint))

0,0,0

(setq b (getpoint))

50,50,0

(command "rectang" a b "")(princ)

Click here to learn more about LISP.

Have I missed any techniques?

Why not let me know in the comments below.

Try it for yourself

Easy to try, easy to buy, easy to own. That's BricsCAD®. Try all of our products, for free for 30 days at www.bricsys.com. Freedom of choice, plus perpetual (permanent) product licenses that work with all languages, in all places. You'll love what we've built for you with the BricsCAD® product family.


Disclaimer: These links are being provided as a convenience and for informational purposes only; they do not constitute an endorsement or an approval by Bricsys of any of the products, services or opinions of the corporation or organization or individual. Bricsys bears no responsibility for the accuracy, legality or content of the external site or for that of subsequent links. Contact the external site for answers to questions regarding its content.


More Tuesday Tips:

15 kwietnia 2024 3 min

BricsCAD® Pro V24.2 - Performance Improvements

BricsCAD V24.2 is here, bringing with it a suite of performance improvements that promise to boost efficiency and stability. Tailored for drafters, designers, and fabricators across all industries, the latest version focuses on accelerating the creation of detailed design documentation essential for building, fabricating, and manufacturing processes. Let's take a closer look at the enhancements in V24.2 that will accelerate your time to deliverable.

25 marca 2024 4 min

What's new in BricsCAD® Lite and Pro V24.2

In the latest update, BricsCAD® V24.2 brings many new and enhanced features to elevate your 2D drawing creation. We have introduced a more intuitive user experience, improved performance and stability, and added new and enhanced features to boost your productivity further. This release delivers workflows to facilitate the precision and versatility you need for your 2D drafting and design projects to run smoothly. 

Śledź nas w mediach społecznościowych