Square rounded corners

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
Bone
Newbie Member
Posts: 3
Joined: Sat Mar 21, 2020 6:07 pm

Square rounded corners

Post by Bone » Sat Mar 21, 2020 6:45 pm

I recently imported in a drawing (DWG file) i made from Illustrator. It seems all of the objects (regardless of shape) have rounded corners. Especially when scaling linetypes. Is there a way to change the objects in each layer to square corners?

I am new to QCAD and haven't been able to find a solution. Advice and suggestions?

MAC OS Mojave 10.14.6 / QCAD-Pro 3.24 /

Bone
Newbie Member
Posts: 3
Joined: Sat Mar 21, 2020 6:07 pm

Re: Square rounded corners

Post by Bone » Sat Mar 21, 2020 6:49 pm

screen shot examples.
Attachments
Screen Shot 2020-03-21 at 1.47.07 PM.png
Screen Shot 2020-03-21 at 1.47.07 PM.png (27.05 KiB) Viewed 5994 times
Screen Shot 2020-03-21 at 1.46.59 PM.png
Screen Shot 2020-03-21 at 1.46.59 PM.png (28 KiB) Viewed 5994 times

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Square rounded corners

Post by Husky » Sat Mar 21, 2020 7:07 pm

Bone wrote:
Sat Mar 21, 2020 6:45 pm
Is there a way to change the objects in each layer to square corners?
I am new to QCAD and haven't been able to find a solution. Advice and suggestions?
That looks to me more likely to be a print setting issue. Please attache the drawing or at least an example drawing to this topic for further investigation. Thanks.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Square rounded corners

Post by CVH » Sun Mar 22, 2020 4:47 am

For all linetypes and sizes a round pen is used.
Polylines with a Witdh use a flat pen.

Regards,
CVH

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: Square rounded corners

Post by TSG » Sun Mar 22, 2020 7:04 am

Normal lines (LI) always have rounded ends.
Polylines (PL) get an angular end when a global width is assigned to them.

Therefore the following procedure is necessary:

1. With a manual or automatic selection with the "Selection Filter" for example all polylines whose round ends should be angular are selected
2. With "Polyline from Selection" (OC) these selected lines are converted to polylines
3. In the "Property Editor" the selected polylines get a "Global Line Width"

Hope it helps
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

Bone
Newbie Member
Posts: 3
Joined: Sat Mar 21, 2020 6:07 pm

Re: Square rounded corners

Post by Bone » Sun Mar 22, 2020 4:34 pm

Thanks for the responses. I am still unclear on how to change these lines so they have no rounded corners. If i assign a lineweight in the General Properties, the corners are adjusted and appear round. If i leave them at 0.00mm they appear at a 90deg.

I tried 'Polyline from Selection'. The corners are no different.

Is there a simple way to convert the corners from curved to 90deg?

Thanks

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Square rounded corners

Post by Husky » Sun Mar 22, 2020 6:39 pm

Bone wrote:
Sun Mar 22, 2020 4:34 pm
Is there a simple way to convert the corners from curved to 90deg?
The description has already been given.

Why you want to change the line ends is not clear to me and my request for a sample drawing was ignored.
Unfortunately without this basic information I can't help you - I'm out.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: Square rounded corners

Post by TSG » Sun Mar 22, 2020 8:54 pm

Bone wrote:
Sun Mar 22, 2020 4:34 pm
Is there a simple way to convert the corners from curved to 90deg?
Yes, see 1., 2., 3. from above
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Square rounded corners

Post by CVH » Sun Mar 22, 2020 9:37 pm

Maybe Husky gave up but I don't.

Again: For all linetypes and sizes a round pen is used. Here we talk about 'Weights'.

The choise in weights is limited.
The origin of this is from the time we used large drawing boards, numerous rulers and pens, pens with ... ink.
So before you start critize any CAD program I urge to look back at those days.
And remember that the plug is pulled more quickly than one could imagine seeing it in the current daylight.

Those pens came in DIN norm style and obeyed the sqrt(2) rule like the the A-paper size.
A surface thing: doubling the surface requires linear things to be multiplied with the square root of 2.

Qcad present some intermediates pen weights apart from those marked with ISO.
Besides 'default' the 0.00mm is added for convienience for some specific target application needs.

CAD's use vectors, vectors have no traverse size, even not zero, just none at all.

CAD introduced polylines, sets of lines including bulging, something that is rather trivial with pens and ink on paper.
Besides the standard pens, polylines can also be drawn with a certain 'Width'.
Remark here the difference between 'Weights' and 'Widths'.

A polyline width can be set either global or it can be set locally for any segment start and end.
Any width will do, and once a global or a local width is set a centered orthogonal flat pen will be used.
Local widths superseeds global width and any width superseeds the line weights.

We can not draw in a certain global or local width but these can be set once a poly is drawn.
See the Specific Property 'Global Width' or in the vertex list for the locals.

Further, it is a missasumption that your corners are rounded.
All pens trace the lines, or in general: the curves, centerstyle over the vectors.
The outside of a hard corner can be nothing else than the shape of the pen itself.
A partially prove is that there never are inside 'roundings'.

A 0.00mm line can not look rounded at the exterior of a bend.
They are rendered to be at least visible by using only one pixel in the actual zoom state.
A pixel can not be divided up to give it a rounded look.

And more, it is a missasumption that your corners should look sqaured.
I am not aware off a technical drafting norm that ask for a flat or squared pen.
What those norms will include are specific line weights and styles to be used.
In CAD round pen are very common. They were that 50 years ago and still are that at present.
Your ballpoint draws as a round pen, your pencil does it too.

We all know it can be a mindset when dealing with scaling, global pen sizes, paper space scaling among others.
There are endless topics on the forum about this.
The easiest way is to alter things a bit and try to understand how it works in detail in your setup.

In the end I don't think it is good practice to combine all curves in polys and apply widths.
It is a daunting process for one.
It can get worser too.
Polyline segment with a local width of zero among others that have a width set scale as normal segments in print preview.

Regards,
CVH.

Post Reply

Return to “QCAD 'How Do I' Questions”