News:

Please note new Forum URL: forum.designcad.com

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

Units and the grid

Started by rcamic, September 19, 2013, 03:09:49 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

rcamic

I'm new to CAD programs. I have a project which dimensionally is in inches (actually about 6" x 3" x 2"), and I need resolution down to 1 mil, if possible. My units are inches. What numbers should I put in the Grid Options for X and Y major and minor Divisions and Size. I need an example. Thanks.

Bob P

For precise work, I would not use a grid.  Instead, you can use the shortcut keys for Point-Polar (semicolon key ";") and Point-Relative (Apostrophe/single quote key ' )

samdavo

Exactly Bob.
I have even decommissioned hotkey "G" so that I don't even get into Grid mode by accident.

rcamic,
The other thing, you seem to invite the question why not use metric ?
Millimetres and even half mm are so much easier than 1/32 and 1/64. :)

Bob P

Most of my work is still in inches (the machine shops that I sublet to are mostly "old school"), but all inputs are in decimal units, not fractions.

Lar

#4
I'm not fluent in metric but here's what I've determined. I assume by mil you mean millimeter (mm):<<WRONG!! 1 mil=1/1000" (0.001") so disregard the rest of this post but see the end of my next post for a solution>>

1 mm = 0.03937008" (which I determined by starting out in inch units, then switch to mm, then draw a line 1 unit long, then switch back to inch and use the Units command to measure the line).

1 inch equals 25.something of these, ie, you can't have a grid at 1mm that would show divisions to a whole inch...

The nearest best thing to 1mm that would divide evenly to an inch is 1/32, or 0.03125"...

So, set the drawing units to inch and in the grid dialog set the "Minors" to 0.03125 (you have to put in decimals since the grid dialog don't accept anything other than numbers - even though the rest of dcad can use fractions, formulas and the foot and inch symbols).

For the "majors": if you want to show 1/16" set to 2, to show 1/8" set to 4, to show 1/4" set to 8, to show 1/2" set to 16.


Personally, I would disable "Grid smoothly degrades when zoomed out" but then I would keep the work zoomed in close (in all windows) so dcad don't crash trying to draw all those grid lines. Your choice.

Lar

SciGraphics

Hello Lar:  1 mil in inches is 1/1000 of an inch and I think that is what rcamic is looking for. For that accuracy, Bob P. seems to have the answer. Under options, go to the dimension tab and set the accuracy there for .000 or any other that you want.
Jim A.

Lar

#6
Ok, my dunce on the mil thing.

I just tried the grid at .001 and I got the "out of memory" message. I'm surprised dcad didn't crash. Same thing happened at .01 and now dcad doesn't want to go below .064 (approx. 1/16"). Maybe dcad is telling me to stay within the architect's zone.

Lar

Later>>well, dcad closed itself so what did I do? I opened it back up and realizing that I at first had 4 windows open I closed 3 of them and now dcad can handle a .001 grid with no problem.

samdavo

#7
Lar
I insist it was my original error/"bad".
And I'm sure dcad is telling me to stay within the metric zone.
I think I fell in love with metric when I bought a VW back in the 70's - spanners were so logical.

These days, the only time we would use imperial at work is if we need a drillbit eg "just a bit bigger than 20mm",  -  so you go for 13/16" (20.6mm) etc (just one example of course).

As for DCAD, with my "drawing style", (plenty of circles, and bolts in circular arrays etc - not a grid in sight) - I prefer to use in particular the Point Relative and Point Polar as BobP says.   I see only problems if the point setting is to be restricted to a grid (imo of course).     

Lar

#8
Sam,
After many years of using the Point Relative command my tolerance for it has diminished. To counter this I made extensive use of the snap grid. However, my grid was is not fixed to one location/size and it depended a lot on basiccad and a custom toolbox. In the toolbox I have a number of macros that change the grid size and divisions (and turn the grid on at the same time). There are also buttons for setting the grid origin and toggling the grid display and/or the grid snapping. There is also a macro to set the angles for the angular grid based on me setting 2 points.

So, what I would do is change the grid origin to where ever I needed it to be and change the grid size to whatever I needed it to be. One problem is that running a macro in the middle of a drawing command ends the command. However, most aspects of architecture has a size associated with it so the grid normally stayed a certain size. Since 'grid origin' is a native command I would be able to change it in the middle of drawing something, making use of it the way most people use the comma key and point relative command. This normally required turning the grid off and then back on but hitting the G key was easy enough (which is also native). It also helps to turn on data display so you don't have to count the grid squares. If I have frequent need for a size or two outside of the snap grid I would use the cursor step sizes.

Lar
note: a few years ago I developed a completely different approach to avoiding the point relative command (that is outside the scope of this topic) so I hardly use my grid method any more.

Dr PR

rcamic,

The important part of all this is to ignore the grid - especially the snap grid. If you set a resolution to 0.001" you would never be able to point to the correct 0.001" unless you constantly zoomed in/out/in/out ... ad nauseum.

Worse still, the grid will prevent you from setting a point that is not on the grid - and there will be in curves and intersections of lines.

The best accurate way to use DesignCAD (any CAD program) is to use the "Point Relative" function to draw a line from a point precisely a certain distance. Use the "Reference Point" option in the "Point Relative" function to ensure your line starts from the correct place - just gravity snap to the reference point when the function starts and the program will set the next point at your defined XYZ distance.

You can also use "Point Polar" to set a point precisely a certain distance and angle froma starting position.

Phil
DesignCAD user since 1987

rcamic

Thanks to all who answered. Yes a mil = 0.001". I was getting the out of memory error message with a 1 mil grid. I will try not using the grid and followed the advice of those who recommended this approach. My pcb layout program uses a grid, but allows you to easily put things off grid, the grid is just a convenient reference. I thought DesignCAD might work this way, too.

Lar

Quote from: rcamic on September 25, 2013, 11:22:57 AM
I was getting the out of memory error message with a 1 mil grid.
Were you in 2d mode and how many windows did you have open. I got the out of memory message with 4 windows but with 1 window it was ok (on my little laptop). I was also zoomed in close (like in my image above) since to show even 1 inch on screen would render the grid useless (since the snaps would be so close together).

Quote from: rcamic on September 25, 2013, 11:22:57 AM
My pcb layout program uses a grid, but allows you to easily put things off grid, the grid is just a convenient reference.
You can use any of the 'point' commands' to set points off-grid or you can disable/enable the snapping of the grid by just pressing the G key, which would allow the grid lines to remain on screen.  You can also have the snapping on with the grid lines off (to turn off the grid lines or grid snapping independent of each other you have to do it through the grid dialog box {ctrl+G, or Q and then click the 'Grid' tab}). You can also change the origin of the grid with the 'set grid center' command in the options menu (can't remember the native shortcut since I changed mine). You can do all of these things in the middle of a drawing command.

Here's a simple example: Say you have a box that is 5.5 mils wide and you want to draw a line starting 1 mil from the top-left corner to 1 mil from the top-right corner. The snap and display grids are on but neither of the top corners are on the grid.
<<note: all the pressing G in this example is optional because you can gravity-snap to an existing point that is off the grid>> 1] press G to turn off the snap grid...  2] press the shortcut for 'set grid center' and right-click (gravity snap) on the top-left corner (this sets the grid center there)... 3] press G (turns on snap grid), then V (start the line command) and click on the grid point 1 mil left of the corner... 4] move the cursor to the right corner of the box (which is off the grid since the box is 5.5 mils wide), press G (turns off grid snapping), press the shortcut for 'set grid center' and right click on the corner to set the grid center there, move the cursor one grid square to the right, click, and press enter (or the mouse middle button/wheel) to end the line command (or press V to end that line command and start another). Takes about 3 seconds once you get fluid... well, maybe 4.

Dr PR

rcamic,

I do PCB layout too, and use several programs. For this work I do find a grid to be very useful because I typically position components on a regular grid and route traces with a minimum trace/space width to maintain minimum spacing.

For some 2D CAD drawings a grid is useful. If everything is to be spaced by equal units a grid can be very helpful. But if you are designing something that does not have all points on a regular spacing the grid can be very annoying, and can even cause errors.

Phil
DesignCAD user since 1987