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.

Stretch feature and Nudge ABility

Started by jrrushmeyer, April 28, 2008, 05:47:39 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

jrrushmeyer

I may have mentioned this before but one feature I would like to see is the abiltiy to select an object (lets say a 4" X 36" board...in 2D now) and have the ability to select it and change the dim to, lets say 4" x 36 1/4 inch board.  The program Inventor has that ability (and a much higher price tag too!!).

The other feature would be a nudge ability.  When you are manually moving something around you could use CONT Up Arrow etc to move it in fraction of an inch..or whatever the default measurements are.  I will say that the  Move with the Coord (SHIFT Semi Colon) feature is nice but the nudge would be good too.

Thanks
JR

janders1

The first feature you request can be done with the info box now. Select the object, then open the info box and put in the desired measurments.
The second can be done by selecting object then select move and use the aroe keys to move it.

prl

Can also be done using point select mode.  Worth the time learning about this mode.

bdeck

#3
I normally do this with the edit/section/stretch command.

After outlining the area to be stretched, set a point anywhere on the screen.

Then hit the apostrophe key for the PointRelative command, select "last point", and enter a number.


Prl's suggestion of point select mode is more versatile, especially for moving oddly placed points that cant be surrounded in a rectangle.

"Last point" option is not available in point select mode, so use "reference point" in PointRelative cammand.

BD


Lar

For the first one (this is an expansion on janders1 suggestions) , if you don't want to be bothered with extra commands just gravity snap at the point that you don't want to move. It will be selected and a Handle will be set there. Open the Info Box (normally Ctrl+I {I've changed my own to just the 'I' key}) and in the Bounding Box section, but below it, activate 'Use Selection Handle' (without this the object will resize from its center). Now in the size fields (above) enter whatever size you want.

For the second one press Q for the Options dialogue box and click the 'Cursor' tab. There, at the bottom, you can enter sizes for the Large and Small Step Sizes. To move the object use the Move command then press the arrow keys to move the large size. For the small size hold Shift (I think, haven't used this for quite a while) while you press the arrow key.

Lar


prl

#5
And to show you how truly versatile DesignCAD is, here is some basiccad code that let's you move those selected points by some dx,dy,dz value.

'Program: psoffset (point select offset)

If Not Sys(345) Then
  Message "Point select mode not active.  Routine will end."
  end
endif

setselectedpoints

If sys(1) = 0  Then
  Message "No points selected. Routine will end."
  end
endif

dx$ = "0"
dy$ = "0"
dz$ = "0"

fmt$ = "%s %s %s"
input "Enter dx dy dz offset.    Examples - 0 0 4 or 0 7.25 or 1.25'  (Note trailing zeros can be omitted)", b$

Parse b$, fmt$, dx$, dy$, dz$

precision 15
dx = val(dx$)
dy = val(dy$)
dz = val(dz$)

>MovePoints
{
<Pointxyz 0.0000000000,0.0000000000,0.0000000000
<Pointxyz [dx,dy,dz]
}

end


Note the dx dy dz offsets all occur on one line. I despise the point relative dialog because of all the tabbing.

Examples - entering

4'3" 2 2'6" means dx = 4'3", dy = 2, and dz=2'-6"

shortened versions are also possible

0 2'9" is the same as 0 2'9" 0
4'3"  is the same as 4'3" 0 0



jrrushmeyer

OK!!!!  Thanks guys for the tips.  I had that poffset on my version 15 so I will have to add that to 18.  I think I remember something about that Info box but it seems like V18 is much better.  The one thing that I would still like is a kind of micro nudge.  I use DC to draw a lot of cabinets and they fit together with a tongue and groove.  I did that

Get Coord of point to move to (grav snap)
Select Object to move
CONT H to put spot where I want it
Semi Colon and enter those coords

and that works great.  The one thing I seem to have run across is
Assume we are looking at the edge of a 1 X 4.
     _
__| |__   
|         | 
|         |

I want to set the point at the top right of the board not at the top right of the tongue.  That is what happpens when I try to do it. If I cant do it that way, a mico nudge would be nice...and I will fit it by hand.  I can still come darn close the Arrow Way but you know us woodworkers.....we have to be dead on.....until we actually build it!!! 

So anyway, thanks for all the hints guys.  I will practice a little more later.

JR

bdeck

#7
This brings up a possible improvement to the stretch command.

I propose that if the shift key is held when the third point is set, then a second bounding rectangle will begin, and so on, until all the points to be moved are enclosed in multiple rectangles.

This would avoid the need to use point select mode on multiple entities if one wants to do a stretch in a single operation.

Of course, one can now simply repeat the stretch command to do those points that would not fit neatly in the first rubber band box. But after the first stretch, the view of the object(s) will be seriously distorted.

Edit: On reflection, it turns out this can all be done in a macro.

BD

Lar

bdeck, what you are requesting can be achieved now with point select mode. You can use the various selections methods to get all the points you want, then pick up any one of them and snap it to any other point. This even allows you to leave out points right next to selected points. Only problem is that dimensions and certain other entities can not be stretched that way.

jrrushmeyer, with point select mode you can move any point from anywhere to anywhere else. If no point exists where you need one just quickly draw a 2-point line with one of the points where you need it, add it to the selection set, do the edit, then press ctrl+e to delete the last entity, which will be the 2-point line.

Lar

bdeck

#9
Quote from: Lar on April 28, 2008, 08:03:04 PM
bdeck, what you are requesting can be achieved now with point select mode.

Hi Lar,

I like point select mode (see my prior post above), but Stretch still has some benefits.

For example, the stretch command lets you gravity snap when creating rubberbands. You cant do that in point select mode.

Also, stretch does not pose a risk of inadvertently dragging or creating a point in a dense mechanical drawing with multiple entities.

Edit: Finally, moving dimension points in rubberband point select mode is really messy.

Multiple rectangles or multi polygons would be a nice improvment to stretch.

Or, perhaps a true point select mode that did nothing but select existing points would be a nice altenative.

Regards,

BD

Dr PR

BD,

In point select mode you can snap to points without selecting anything while drawing a selection rectangle. The "Point/Gravity Move" (comma key) function will move the cursor to the nearest point, like gravity snap, but it doesn't select anything, it just moves the cursor. You can then move the cursor again to continue drawing the selection rectangle. It's not quite as easy as clicking the right mouse button, but I use it all the time.

What would be really useful is something like the "Lasso" tool in Photoshop. It allows you to draw a random line (like "Draw/Line/Sketch") around a collection of objects. Everything inside (or outside) a closed loop can be selected.
DesignCAD user since 1987

prl

Quote from: Dr PR on April 29, 2008, 11:05:28 AM
What would be really useful is something like the "Lasso" tool in Photoshop. It allows you to draw a random line (like "Draw/Line/Sketch") around a collection of objects. Everything inside (or outside) a closed loop can be selected.

We have polygon selection or do you mean something else?

jrrushmeyer

OK, PRI.  I am becoming sold on  Point/Select.  Does what I want it to do just fine.  I do have one last question (I dont want this to turn into a JR tutorial) about Info Box.  I thought I would make a short piece of wood with two dados (grooves) at each end.  I had one that was 24" long so I went did the drill using Info box and shortened the board to 12".  I am pretty sure when that happened it shrank everything else proportionately.  The groove was 1/4 wide and 1/4 deep and 1/8 from each end but after the Info Shrink the groove was smaller.  Is this a limitation of Info or was there some parameter I missed?

And....I promise I will shut up now.

JR
   

edgar

Quote from: jrrushmeyer on April 29, 2008, 01:09:39 PM
...after the Info Shrink the groove was smaller.  Is this a limitation of Info or was there some parameter I missed?

And....I promise I will shut up now.

Yes, the Info box method does shrink the dados proportionately. There are other methods which will accomplish what you want. One I can think of is to cut the original board in half and add some new board into the middle--complicated and time consuming, but a solution. It would most likely be quicker to make a new dadoed board the correct length to begin with.

Don't "shut up"! Remember, every question you ask is read by many and the answers help those of us who are struggling along with you!
-Ed

Dr PR

JR,

The Forum is here to answer your questions - all of them, if we can. Even those of us who have used the program for many years can learn from answering newcomer's questions. So keep them coming.
DesignCAD user since 1987