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

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.

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

The Modify/Split Entities appears to be what I was looking for. Thanks.

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.

Hi,

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

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

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

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