How to create Wobble geometry

Drop in here to discuss whatever you want.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
dnr18
Registered Member
Posts: 1
Joined: Sat Feb 18, 2017 2:44 am

How to create Wobble geometry

Post by dnr18 » Sat Feb 18, 2017 2:51 am

Hello,
Anyone could help me in creating wobble geometry in 2D view. similar to below pic.
Attachments
materials-10-00030-g003.png
materials-10-00030-g003.png (7.62 KiB) Viewed 8089 times

Matfie
Active Member
Posts: 37
Joined: Tue Aug 30, 2016 8:46 am

Re: How to create Wobble geometry

Post by Matfie » Sun Feb 19, 2017 10:28 pm

do you need to do it once, or many times? It is basically a point on a circle which is rotated as it is moved along.

If you need to do it only once (or few times), you can do it as follows:

1. draw a dot at the start point, and select it
2. choose the 'Move and Rotate' tool from the Modify menu
3. The Reference point is the centre of the circle, or in your case it is half the amplitude to the right of your dot
4. The Target point is a step in the direction along your scanning length
5. In 'Move and Rotate Options' you choose 'Multiple Copies' and something like a couple of hundred, and and angle of something like 10 degrees

Then you get an image like this
wobble.png
wobble.png (19.04 KiB) Viewed 8070 times
and if you like the parameters you can join the dots manually with the spline tool, though the parameters might need a bit of calculation to get what you want.

If you need to do this more purposefully, you would have to write a script; this is probably not that difficult (probably just modify the LineBoxJoint script)

Post Reply

Return to “Chat”