[Plugin] Double line
-
thanks
-
This is fantastic, Didier. I have one suggestion (for now Each time the user hits the enter key to draw the walls so far, commit the operation so the wall sections can be undone one at a time. Thanks again, this is really useful. CB.
-
-
@unknownuser said:
With some arcs now?
No no no. Ask TIG!
BTW, you can draw walls that include arcs with the "line2wall*.rb" scripts. -
Didier
Excellent idea - I was working on something similar, mine was called 'mline' - you beat me to it ! Well done.
I can't get 'C' to work closing the loop - I have a short cut for circle that's 'c' so it dumps into that. Perhaps having something like shift+enter to close might do it ?
.
-
@didier bur said:
Hi,
@unknownuser said:
I can't get 'C' to work closing the loop - I have a short cur for circle that's 'c' so it dumps into that. Perhaps having something like shift+enter to close might do it ?
I noticed that also at the office on a standard install of SU, at home my PC doesn't have the "c" shortcut...
BTW, how to detect the Shift+enter keys pressed ?
I was thinking of a "x" shortcut instead but Shift+enter is more intuitive.@honolulu: no, no additionnal files required. Maybe a glitch with the pushpull if you are on Mac ?
@Pilou: want always more, hey ? i'll try to do it...The code is basically "if key1== enter AND key2== shift then..." For example
def onKeyDown(key,repeat,flags,view) ###... @key="shift" if key==CONSTRAIN_MODIFIER_KEY ###... end#def
-
Patch published today. Shortcut for "close" changed to "x" instead of "c".
-
Damned I have x for X-Ray
So my previous trick will work fine again@unknownuser said:
Just write any number like 1
then backspace for erase it
then write x
then EnterIt's like Glen Gould but works
-
@didier bur said:
Patch published today. Shortcut for "close" changed to "x" instead of "c".
Didier
Using "X" is a good choice: x is usually reserved for copying - e.g. x3 to make copies within other commands and isn't a shortcut... If like Pilou you want to use 'X' as a shortcut for something like X-ray you need to remember to use 3x for copies rather than x3, as the latter will invoke X-ray rather than make copies ! Persoanlly I use Alt+X for X-ray mode...
-
@unknownuser said:
use 'X' as a shortcut for something like X-ray you need to remember to use 3x for copies rather than x3
cool little trick
-
Great work, Didier! Thanks so much for sharing!
a couple little things:
when I choose "show axis"... it does not show... whether or not I have it pop the wall up.After drawing a wall, I exit the tool, then I want to draw a double line vertically on a face, so I choose to use the tool again... set width to 12", no face, no close. I draw a vertical line from top edge to bottom edge of the wall face. I hit enter for it to draw the double line. I get this.
-
Thank you very much Didier.
-
Thanks D! I'll have to try it out sometime.
-
Hi,
@unknownuser said:
when I choose "show axis"... it does not show...
Axis is drawn with guide lines (construction lines). Do you have them visible ?
Remember axis will only be visible if justification is "Center".@unknownuser said:
draw a vertical line from top edge to bottom edge of the wall face. I hit enter for it to draw the double line. I get this.
Oh yes, I noticed that here too. The part of line up the wall is always exactly half the width of the wall
As a matter of fact, this is normal: for the script to work in 3D, I had to compute the geometric plane on which the first two segments are drawn. Thus if you click only one segment, two points aren't enough to define the plane of the base. In this case the script considers that the plane is the red-green plane. And your points have the same projection on the red-green plane. So an error occurs. Hope I'm clear, hem,hem...
But I'll try to fix that if I can. -
Hi!
c=circle
x=explode.
Generally the letters are bad idea.
Could it be just cntl click for for close? -
i second that
-
Hi,
Everybody will agree now, I hope. I finally got the double-click detection to work, so a double-clic will close a shape.
Another small enhancement: when you draw only one segment on an existing face, it takes the face as the base geometric plane (to solve Fletch's issue).
Download it at the top of topic.
Regards, -
Users presure
-
Thank you Master Didier!
-
Well, that last fix broke it for me. I like doing one wall at a time, and it now lays them down flat instead of upright. I'm adding walls to an existing framework, so there are planes adjacent to where I'm adding the wall. PS: if I could undo one wall at a time, that would be great - if I make a mistake and undo, I lose all the work I've done with the tool so far. Thanks, CB.
Advertisement