Sketchup AutoCAD-like command
-
Sometimes i feel the lack of some commands while drawing in SU (or i lack the correct knowladge to draw them)
Some functionalities in AutoCAD for drawing look interesting to me.
For example:
Define start point of a line by inserting the xyz coordinates
Define end point of a line by inserting XYZ coordinates (possibly relative to the previous point)
Move an object into a certain direction by an certain amount (possibly relative to the selected point)I don't know if there are functions for this or if anyone already wrote something like this.
If not, i'll have a look into it (that is, if there are no standard SU functions for this) -
-
thx dedmin!
App. also possible when moving objects. -
@pout said:
Sometimes i feel the lack of some commands while drawing in SU (or i lack the correct knowladge to draw them)
Some functionalities in AutoCAD for drawing look interesting to me.
For example:
Define start point of a line by inserting the xyz coordinates
Define end point of a line by inserting XYZ coordinates (possibly relative to the previous point)
Move an object into a certain direction by an certain amount (possibly relative to the selected point)
I don't know if there are functions for this or if anyone already wrote something like this.
If not, i'll have a look into it (that is, if there are no standard SU functions for this)You can't set the start of a Line using xyz coordinates of any kind - Line waits for a picked point. So - make a tool !
You can enter a length for a Line by either picking a second point in the required direction, or simply moving the cursor in that direct but not picking, and then immediately typing in a new length - e.g. typing 1 + <enter> makes the Line 1 unit long in the direction dictated by this second point. Entity info also allows you to change a 'free' Line's length.
You can specify a Line's end [second point] by typing in its xyz coords + <enter>.
The format is with square brackets[x,y,z]
for absolute coordinates - measured from theORIGIN
.
OR with pointed-brackets<x,y,z>
to define a point relative to the last picked point...
If in your locale you use a comma [,
] for a decimal point instead of a full-stop [.
] you must substitute a semi-colon [;
] instead.
To use the same Z [or X/Y value] leave that item blank in the array you type - e.f. [1,0,].
You can't enter polar coordinates for the second point. The format^45,1
(angle,length) is used for making arcs only. You could write a tool ?You can already Move a selection in the direct the cursor is moved or clicked by typing in the desired dimension straight away - e.g. pick the start point and any second point and the selected stuff is moved to that second point but if you then type in 1 + <enter> it then moves it 1 unit in that direction instead.
You can also Move/Copy using[relative]
or<absolute>
coordinates in the same as with the Line tool... -
I'll have a look into it.
Btw, to insert a second point, is it mandatory to first click to box in which you insert the coordinates? Or can you just type it? -
@pout said:
I'll have a look into it.
Btw, to insert a second point, is it mandatory to first click to box in which you insert the coordinates? Or can you just type it?You can just type it in as a dimension - the line's vector is take from the current cursor position OR a second-picked point if you have done it.
For [] or <> coordinates no need to pick anything after the first point is clicked.
Advertisement