Let's say I want to draw a gear with 48 teeth. I know the diameter, and the dimensions of a tooth. How do I go about dividing a circle into the correct number of equal parts to locate the teeth correctly?
Alternatively, is there a command similar to AutoCAD's ARRAY command where I could set up a circular arrangement of however many points (or a grid with x rows and y columns of points with the spacing specified)?
Using QCAD Version: 3.27.6.0 (3.27.6)
Thanks.
Dividing a shape (circle; line; etc.) into multiple equal parts [SOLVED]
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
1940LaSalle
- Junior Member
- Posts: 13
- Joined: Mon Sep 26, 2022 1:50 pm
Dividing a shape (circle; line; etc.) into multiple equal parts [SOLVED]
Last edited by 1940LaSalle on Mon Sep 08, 2025 1:55 pm, edited 1 time in total.
-
CVH
- Premier Member
- Posts: 4957
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Dividing a shape (circle; line; etc.) into multiple equal parts
Hi,
You could use Modify .. Split Entities (MS) what can divide a selected circle in 48 parts.
A regular polygon (PG1) has the right amount of segments and corners.
Draw one teeth, select all and rotate (RO) 47 copies around the center every 7.5 degrees.
There is a gear generator in the standard libraries ... Not modulo based.
GL >> Mechanics >> Gears
Regards,
CVH
You could use Modify .. Split Entities (MS) what can divide a selected circle in 48 parts.
A regular polygon (PG1) has the right amount of segments and corners.
Draw one teeth, select all and rotate (RO) 47 copies around the center every 7.5 degrees.
There is a gear generator in the standard libraries ... Not modulo based.
GL >> Mechanics >> Gears
Regards,
CVH
-
1940LaSalle
- Junior Member
- Posts: 13
- Joined: Mon Sep 26, 2022 1:50 pm
Re: Dividing a shape (circle; line; etc.) into multiple equal parts
The Modify/Split Entities appears to be what I was looking for. Thanks.
-
1940LaSalle
- Junior Member
- Posts: 13
- Joined: Mon Sep 26, 2022 1:50 pm
Re: Dividing a shape (circle; line; etc.) into multiple equal parts
Follow-up question, specific to Modify / Split Entities: it appears that by default (?) when using that command on a circle, the result is 60 divisions, evenly spaced around the circumference. How do I modify the number of divisions? It's not immediately obvious in the Properties Editor. Thanks.
Never mind; I found the answer myself. I keep forgetting about the options toolbar.
Never mind; I found the answer myself. I keep forgetting about the options toolbar.
Last edited by 1940LaSalle on Fri Aug 29, 2025 4:14 pm, edited 1 time in total.
-
CVH
- Premier Member
- Posts: 4957
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Dividing a shape (circle; line; etc.) into multiple equal parts
Hi,
Most QCAD tools list their options on the Options Toolbar.
Many of those options are stored persistent between usage.
The selection must be limited to drawing entities that can be split up.
First option is in how many parts you want to divide the selected objects. (Here 48 as last used for example)
Second option is active for Circle entities in the selection, Ellipse entities are not supported.
The button with the green V is to preform the operation.
The cross is to cancel the tool, QQ or Esc will also cancel the tool.
Regards,
CVH
Most QCAD tools list their options on the Options Toolbar.
Many of those options are stored persistent between usage.
The selection must be limited to drawing entities that can be split up.
First option is in how many parts you want to divide the selected objects. (Here 48 as last used for example)
Second option is active for Circle entities in the selection, Ellipse entities are not supported.
The button with the green V is to preform the operation.
The cross is to cancel the tool, QQ or Esc will also cancel the tool.
Regards,
CVH
-
1940LaSalle
- Junior Member
- Posts: 13
- Joined: Mon Sep 26, 2022 1:50 pm
Re: Dividing a shape (circle; line; etc.) into multiple equal parts
Thanks: your answer had some helpful tips I hadn't anticipated, as well as reminding me about the options toolbar (would be cool if, in a future version, it were a different non-white color to make it stand out as a reminder).
-
CVH
- Premier Member
- Posts: 4957
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Dividing a shape (circle; line; etc.) into multiple equal parts
The Options Toolbar is one of the important things in QCAD to always keep an eye on.1940LaSalle wrote: ↑Fri Aug 29, 2025 4:15 pmwould be cool if, in a future version, it were a different non-white color to make it stand out as a reminder
Its background is the common toolbar background and not white as you can see in the above screen capture.
This depends on the Theme you use, here that is the QCAD 'Default' theme.
There is no CSS for the 'Default' theme to modify, I think it concerns the CSS entry QToolBar#Options background.
Perhaps you can highlight your Options Toolbar for the time being.
Regards,
CVH