Feature Request. Circuit-Type Hatching.

Use this forum for all posts and questions about the free QCAD Community Edition version 3

Moderator: andrew

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

Re: Feature Request. Circuit-Type Hatching.

Post by CVH » Thu Jan 28, 2021 3:34 am

My point here too ...
https://qcad.org/rsforum/viewtopic.php? ... 475#p30501
andrew wrote:
Mon Jan 11, 2021 11:02 am
This is unsettling some users who prefer not to use the forum at all anymore, afraid of these types of reactions.
Now you know how reporting flaws is handled.
I wasn't reporting anymore, I asked how I could avoid them ...
CVH

TreestumpExhaustpipe
Full Member
Posts: 55
Joined: Tue Jun 12, 2018 1:05 am

Re: Feature Request. Circuit-Type Hatching.

Post by TreestumpExhaustpipe » Thu Jan 28, 2021 10:31 am

Stack, Heap and Range checking compiler options should catch these kind of things during compilation, but divide by zero errors are just a programming issue independent from the language and compiler features.

Anyway,
Is there any way to bulk select all the Circuit hatch in the following image outside the irregular closed object and then remove them with "Break out segment" ?

As you can see I already manually removed a lot of the non intersecting circuit by hand, but it would be nice if there is a bulk select possible.
I just do not seem to be able to find such a select option.

Image

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Feature Request. Circuit-Type Hatching.

Post by andrew » Thu Jan 28, 2021 5:15 pm

TreestumpExhaustpipe wrote:
Thu Jan 28, 2021 12:44 am
N ow, I go to the "Finger Width" Box and enter nothing. Just a clear box.

Qcad then Hangs in perpetuity.
I couldn't replicate this here. What operating system are you on? Thanks.

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Thu Jan 28, 2021 6:54 pm

andrew wrote:
Thu Jan 28, 2021 5:15 pm
I couldn't replicate this here. What operating system are you on? Thanks.
I can reproduce it with 0 (not shown in input box). Maybe you have to confirm 0 with enter.
QCAD Pro 3.25.2.9, Win10/64

Husky-2021.01.28-02.png
Husky-2021.01.28-02.png (52.3 KiB) Viewed 11173 times
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..."

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Thu Jan 28, 2021 7:30 pm

TreestumpExhaustpipe wrote:
Thu Jan 28, 2021 10:31 am
Anyway,
Is there any way to bulk select all the Circuit hatch in the following image outside the irregular closed object and then remove them with "Break out segment" ?

As you can see I already manually removed a lot of the non intersecting circuit by hand, but it would be nice if there is a bulk select possible.
I just do not seem to be able to find such a select option.
Yes - there is an easier way to do that task. I said easier - not a perfect solution! You are willing to think out of your box? e_confused

Let's start with the angle. Could you live with this angle change?

Husky-2021.01.28-04.png
Husky-2021.01.28-04.png (194.76 KiB) Viewed 11172 times
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..."

TreestumpExhaustpipe
Full Member
Posts: 55
Joined: Tue Jun 12, 2018 1:05 am

Re: Feature Request. Circuit-Type Hatching.

Post by TreestumpExhaustpipe » Thu Jan 28, 2021 10:21 pm

Yes I can live with the angle change as I always work with "mating Pins as I need that for my CNC jigs, and it makes orientating objects in the drawings easier.
Let me know how I can bulk erase. thanks at a different angle.

TreestumpExhaustpipe
Full Member
Posts: 55
Joined: Tue Jun 12, 2018 1:05 am

Re: Feature Request. Circuit-Type Hatching.

Post by TreestumpExhaustpipe » Thu Jan 28, 2021 10:50 pm

Husky wrote:
Thu Jan 28, 2021 6:54 pm
andrew wrote:
Thu Jan 28, 2021 5:15 pm
I couldn't replicate this here. What operating system are you on? Thanks.
I can reproduce it with 0 (not shown in input box). Maybe you have to confirm 0 with enter.
QCAD Pro 3.25.2.9, Win10/64
Husky-2021.01.28-02.png
No, it fails if I try to clear the box default value (with backspace) in order to type in a different number.
It absolutely hangs and pressing anything including enter doesnt help.
See in the video. It already hangs on pressing backspace, and it hangs even before the interface can update an empty field.

When I flip up the menu you can see the black hang image it leaves as QCAD is DOA.
It hangs so bad that it took my entire server down yesterday.
Qcad process became Zombie with excruciatingly high CPU usage and growing memory up to my 64GB maximum limit which crashed the server.

https://i.imgur.com/0LvwTkI.mp4

Notice how the cursor behind 0.5 just dies after the first backspace attempt and so immediate that the 5 is not even updated as deleted.
Hangs solid.
Divide by zero error I assume.

I am using Linux.
MX18

Version:
3.20.1.0 (3.20.1)
Internet:
QCAD.org
Build Date:
Apr 13 2018
Revision:
dd51609
Qt Version:
5.8.0
Architecture:
x86_64
Compiler:
gcc 4.8.1

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Thu Jan 28, 2021 11:49 pm

TreestumpExhaustpipe wrote:
Thu Jan 28, 2021 10:21 pm
Let me know how I can bulk erase. thanks at a different angle.
Great - looks like you are willing to try something new. I like it!

Ok, I stopped my time to finish that task. It takes me less than 5 minutes and I don't have to do this boring "Break out segments" over and over again ...

This is complex (at the first view!) so I will give you the procedure in small bites, ok?

We have to move/rotate the shape on the canvas. To get it later back in the right position we need 2 useful references to make it easy and bullet proof. I use circle in red on a layer called "Orig.Position". Lock that layer.
BTW: I use 3 Layer in total: Shape, Circuit-Type Hatching, Orig.Position.

Husky-2021.01.28-06.png
Husky-2021.01.28-06.png (58.12 KiB) Viewed 11149 times


Next step is to get the best benefits out of the "Box Joint from 2 Points". Best thing would be to align it horizontal with the longest line in our shape. For that we have to rotate the shape before we use the Box Joint tool. I used additional the "Alt" key to restrict the tool to 90 degree steps.

Circuit-Type Hatching task stepbystep_1.gif
Circuit-Type Hatching task stepbystep_1.gif (5.4 MiB) Viewed 11149 times

Just to be on the safe side I extended the Box joints on the left and right side ...
Ok, one done three to go ...
Tell me when you are at the same status and I'll give you the next step.
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..."

TreestumpExhaustpipe
Full Member
Posts: 55
Joined: Tue Jun 12, 2018 1:05 am

Re: Feature Request. Circuit-Type Hatching.

Post by TreestumpExhaustpipe » Fri Jan 29, 2021 1:35 am

Ok, that part is easy and I did it.
Now how do I delete all the unwanted circuits at the bottom in one or minimal number of actions?

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Fri Jan 29, 2021 7:16 am

TreestumpExhaustpipe wrote:
Fri Jan 29, 2021 1:35 am
Now how do I delete all the unwanted circuits at the bottom in one or minimal number of actions?
With the use of the "Clip to Rectangle" tool. Unfortunately the tool provides currently only a rectangle shape which is limited to a vertical/horizontal orientation. Well, we have to work with that what we have ...
To make it workable for us we have to rotate the Circuit-Type Hatching into a useful horizontal or vertical position ...

Circuit-Type Hatching task stepbystep_2.gif
Circuit-Type Hatching task stepbystep_2.gif (9.12 MiB) Viewed 11136 times
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..."

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Fri Jan 29, 2021 7:47 am

Next step - bring the shape back to the original position / orientation...

I used the "Align Reference Points" (AE) tool ...

Circuit-Type Hatching task stepbystep_3.gif
Circuit-Type Hatching task stepbystep_3.gif (3.54 MiB) Viewed 11130 times
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..."

TreestumpExhaustpipe
Full Member
Posts: 55
Joined: Tue Jun 12, 2018 1:05 am

Re: Feature Request. Circuit-Type Hatching.

Post by TreestumpExhaustpipe » Fri Jan 29, 2021 8:05 am

My version doews not seem to have the "allign reference points" functionality.
I will see how I can work around it maybe.
But, I see the basic philosophy behind it.

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Fri Jan 29, 2021 8:16 am

TreestumpExhaustpipe wrote:
Fri Jan 29, 2021 8:05 am
My version doews not seem to have the "allign reference points" functionality.
I thought you are a Pro user! Then you have all tools! (Menu / Modify)
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..."

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Fri Jan 29, 2021 8:51 am

Now the next step is to complete the path with short lines ...

Circuit-Type Hatching task stepbystep_5.gif
Circuit-Type Hatching task stepbystep_5.gif (7.45 MiB) Viewed 11119 times
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..."

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

Re: Feature Request. Circuit-Type Hatching.

Post by Husky » Fri Jan 29, 2021 8:58 am

... if necessary you can convert the lines to a polyline with "Polyline from Segments.

Circuit-Type Hatching task stepbystep_6.gif
Circuit-Type Hatching task stepbystep_6.gif (2.01 MiB) Viewed 11119 times

Done! With a little practice this whole process takes less than 5 minutes ... :wink:
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..."

Post Reply

Return to “QCAD Community Edition”