DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Creating an array of holes

Started by pnb, August 03, 2022, 04:42:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pnb

V30.1. (Yes I am still persevering!)
I thought this would be straight forward, but for some reason DC is fighting me.

I am attempting to draw the component layout of an electronic circuit on stripboard, sometimes known as Veroboard.
(For those not familiar it is a board about 95 x 130 mm perforated with 1mm holes on a 2.54 mm pitch. The underside the board has straight copper tracks about 2mm wide joining the holes in the 130 mm direction.)
My first stage was to try and draw the array of the 1 mm holes, 50 x 36, but I have failed !
I drew two perpendicular lines, a top and left side line to snap to.
Drew the first 1 mm hole at their join.
I then tried to create the array from the first copy but the rubber band array just dances all over the screen with the slightest movement of the cursor.
Is there a better way to do this ?
Thanks
Peter
DesignCad 3D Max 2021, 64bit

Rob S

In theory, V30.1 faster rubber band line should help with this, but that many might be an issue.

There are several approaches you could try.  DCAD always has many ways to skin the cats!!!   The following methods avoid moving cursor by hand, thus avoids redraw of rubber band holes.

1)  Draw a smaller group of holes say 5 x 5, and then copy-paste them onto a grid of construction lines, by judicious use of handles, onto the corner of the previous pastes.

2) Attempt to array all the holes at once by using point-relative to set the points instead of the cursor.  For this you need to make sure cursor is at the handle position, and set the two points.  To avoid inaccuracy due to cursor start position you can also set points numerically relative to the origin of the drawing using point xyz. 

3) Use preset point mode, from options menu, and once you enter this mode, you make the selection, set two point for the array, and THEN choose the command from the toolbar, or menu.  You might need to pre-configure the command dialog for the number of copies you want.

I tested these methods with a small number of cubes, but the number of cylinders you have in mind will be a feat, I think.   Suggest to draw the initial cylinder with the fewest facets possible, to reduce number of points in the finished drawing.

User since forever

pnb

Thanks Rob,
I should have mentioned that I am working in 2D, 3D seemed an even harder nut to crack.

I have already decided to use your suggestion 1.
Drew all the holes along the long side, added the 'copper track' then replicated it downwards for 20 lines. Only 20 for now as that is all my circuit will need. Bearing in mind this is just a drafting exercise to enable me to visualise connections and track cuts and check them against the circuit schematic.
As an aside, I did investigate freebie software written to do this and more, but after trying a couple came to the conclusion the learning curve was going to be too long.
Peter
DesignCad 3D Max 2021, 64bit

pnb

PS. I am progressing quite slowly because DC doesn't work with my screen res' (minute icons) and I am having to use the Ribbon menus, something I have rarely done before!
Peter
DesignCad 3D Max 2021, 64bit

Rob S

I'm glad that's working.   And, you do not HAVE to use the ribbon menu.

In V30, you can turn on the classic menu together with or instead of the ribbon, and with a large screen you can have best of both.

Just right-click on any menu or toolbar and show/hide whichever you like.
User since forever

pnb

Thanks again. I'm getting there with the ribbon, it will slowly sink in!
Peter
DesignCad 3D Max 2021, 64bit

bdeck

Quote from: pnb on August 03, 2022, 04:42:08 AM
Is there a better way to do this ?
Thanks

Hi pnb,

You might try the NN macro, downloadable here: https://forum.designcad.com/index.php?topic=7399.0  It can be used to make either a linear or a circular array.

To make a linear array of a selected circle, start the macro, then enter either the number of copies desired (minus one for the original)  and hit the enter key. Set the reference point on the center of hole, then set a target point (using the point relative command or a preset target). Then hit return to make the copy. If the "tweak" constant in the macro is set to one (it is), you'll also need to hit escape to end the macro, otherwise every press of the enter key will make another copy, and the backspace key will erase it, until  you hit the escape key. Instructions are in the macro text and in the status bar.

To make a rectangular array, select the linear array you just created, and duplicate it in a perpendicular direction using the same macro.

PS: This macro does not require preset handles, because it sets them transparently. It will ignore any handles you might have already set. A quick way to select one or more objects without cluttering the window with handles is to use the S macro here : https://forum.designcad.com/index.php?topic=322.msg1404#msg1404

Best Regards,
bd

pnb

Thanks db, perhaps something for me to use next time.
The attached file is where I have got to so far. More components to add, text, and track breaks. Plus anything else I think might be helpful !
Peter
DesignCad 3D Max 2021, 64bit

pnb

OK very nearly there !
The attached is my attempt as a design template with the components for the circuit I am building, a Brown Out Detector.
It is not dimensionally perfect, but good enough.
One thing I have learnt is that designing the layout in DC has been more space efficient than using the actual parts in the Veroboard. The LHS components were placed and soldered in before I drew it in DC, it could have been done better !

Peter
DesignCad 3D Max 2021, 64bit