Dividing a shape (circle; line; etc.) into multiple equal parts [SOLVED]

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
1940LaSalle
Junior Member
Posts: 13
Joined: Mon Sep 26, 2022 1:50 pm

Dividing a shape (circle; line; etc.) into multiple equal parts [SOLVED]

Post by 1940LaSalle » Thu Jul 17, 2025 2:40 pm

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.
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

Post by CVH » Thu Jul 17, 2025 5:12 pm

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

1940LaSalle
Junior Member
Posts: 13
Joined: Mon Sep 26, 2022 1:50 pm

Re: Dividing a shape (circle; line; etc.) into multiple equal parts

Post by 1940LaSalle » Thu Jul 17, 2025 6:03 pm

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

Post by 1940LaSalle » Fri Aug 29, 2025 3:00 pm

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.
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

Post by CVH » Fri Aug 29, 2025 3:31 pm

Hi,

Most QCAD tools list their options on the Options Toolbar.
Many of those options are stored persistent between usage.

MS_OptionsToolbar.png
MS_OptionsToolbar.png (2.92 KiB) Viewed 17793 times

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

Post by 1940LaSalle » Fri Aug 29, 2025 4:15 pm

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

Post by CVH » Sat Aug 30, 2025 4:57 am

1940LaSalle wrote:
Fri Aug 29, 2025 4:15 pm
would be cool if, in a future version, it were a different non-white color to make it stand out as a reminder
The Options Toolbar is one of the important things in QCAD to always keep an eye on.

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. :wink:

Regards,
CVH

Post Reply

Return to “QCAD 'How Do I' Questions”