by Didier Bur » Sat Sep 20, 2008 8:23 pm
Hi all, Remember good ol' dline.lsp in Autocad ? Here is a similar plugin to draw these kind of things: Available options (on TAB press): -justification -caps -draw axis -draw face -make group -width and height -close Enjoy ! EDIT 21.09.08: "close" option added, options selection persistent. EDIT 23.09.08: changed the shortcut for "close" option: "x" instead of "c" which is a default shortcut for "circle". EDIT 25.09.08: changed the shortcut for "close" option: double-click. EDIT 26.09.08: changed the "undo": one wall at a time. EDIT: 10.04.10 file_loaded? bug fixed EDIT: 11.04.10 file_loaded? call removed EDIT: TIGPlease download the latest RB [in RBZ format] from the SketchUcation PluginStore Download It is now recoded for compatibility with MAC & PC and suitable for v8 to >=v2015. TAB (up) now opens the dialog on MAC and PC. Its lines are forced 'flat' - constrained to the first picked point's Z. If it's grouped it is given a unique name ["DLINE#n"].
Last edited by Didier Bur on Sun Apr 11, 2010 8:42 pm, edited 7 times in total.
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Edson » Sat Sep 20, 2008 8:24 pm
fantastic gift, didier! thanks!
-

Edson
- Global Moderator
-
- Posts: 2816
- Joined: Mon Oct 22, 2007 1:46 pm
- Location: Porto Alegre, Brasil
- Name: Edson Mahfuz
- Operating system: Mac
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Marian » Sat Sep 20, 2008 8:50 pm
All hail the WISE and KIND DIDIER. 
-

Marian
-
- Posts: 1361
- Joined: Thu Jan 03, 2008 10:31 am
- Location: Suceava, Romania
- Name: Marian
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by rv1974 » Sun Sep 21, 2008 8:05 am
I was missing this tool. Many thanks indeed! Some minor problems: 1/ Sometimes it refuses to make "walls" after tracing over existing lines. 2/ Sometimes it it makes negative Z height. 3/ Could the last parameters input be remembered? ---- Could there be option to get vertical (along world z axis) not perpendicular "wall" to sloped face?...with sloped\terraced upper cap to keep average height? 
-
rv1974
-
- Posts: 1450
- Joined: Tue Nov 13, 2007 11:38 am
- Name: rv1974
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Didier Bur » Sun Sep 21, 2008 11:59 am
Hi, 1/ Sometimes it refuses to make "walls" after tracing over existing lines. 2/ Sometimes it it makes negative Z height. 3/ Could the last parameters input be remembered?
1/I know how to fix this. wait next release 2/This happens when you draw a wall on an existing face. this is normal, the workaround is to ask for making a group in the dialog box, or create a group with the existing face you want to draw on. 3/Yes. For now the tool only remembers prameters if you draw several walls without exiting it. P.S.: I guess a "close" option to come back to the very first point would be nice ?
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Matt666 » Sun Sep 21, 2008 12:13 pm
Hi Didier ! Thank you for this another great plugin !!
J'ai juste un petite question : Tu dois connaitre archicad ! L'outil de dessin de mur permet de modifier la justification du pan de mur que l'on va dessiner...
I have a question for you : I suppose you know Archicad... In archicad, we have possibility of changing the justification while you are drawing the 2d wall...
For example : Wall 1 = Justification "center" Wall 2 = Justification "Left" etc.. In just one command !
Is it possible to do that ?
-
Matt666
-
- Posts: 830
- Joined: Wed Dec 05, 2007 8:38 am
- Location: 48.1184, -1.675
- Name: Matt
-
by marcosrodrigues » Sun Sep 21, 2008 12:43 pm
Thank you, Didier!
| menos é mais
-
marcosrodrigues
-
- Posts: 54
- Joined: Tue Jun 10, 2008 2:14 am
- Location: Salvador, Brasil
- Name: marcosrodrigues
-
by sepo » Sun Sep 21, 2008 2:11 pm
Very useful...looking forward to next update. Thanks Didier.
-
sepo
-
- Posts: 1596
- Joined: Wed Nov 14, 2007 1:19 pm
- Location: Northampton UK
- Name: sepo
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by arqpadao » Sun Sep 21, 2008 6:06 pm
Hi Didier thanks, this is great.
-

arqpadao
-
- Posts: 231
- Joined: Wed Nov 14, 2007 2:10 pm
- Location: Porto Alegre - Brasil
- Name: Fernando Padão
-
by free agent » Sun Sep 21, 2008 6:59 pm
very handy, thanx!
-

free agent
-
- Posts: 282
- Joined: Thu Jun 05, 2008 10:00 am
- Location: Cape Town, South Africa
- Name: Free Agent
by Didier Bur » Sun Sep 21, 2008 10:11 pm
Some enhancemments added today. See top of post.
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Sun Sep 21, 2008 10:51 pm
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 ?
.
Last edited by TIG on Mon Sep 22, 2008 5:23 pm, edited 1 time in total.
TIG
-

TIG
- Global Moderator
-
- Posts: 20297
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by pilou » Mon Sep 22, 2008 12:39 am
@ Tig Same problem but ... Just enter any number then backspace for erase it then write c then Enter And you can keep your C shortcut 
-

pilou
- Top SketchUcator
-
- Posts: 21202
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by honoluludesktop » Mon Sep 22, 2008 1:57 am
Are any other script.rb required to be installed in the plugin folder?
-

honoluludesktop
- In Remembrance
-
- Posts: 2219
- Joined: Fri Sep 12, 2008 12:08 am
- Location: Hawaii
by Matt666 » Mon Sep 22, 2008 8:10 am
Hi Didier !! One question : Is it possible to add an "undo" key inside the command ? Thank you !
-
Matt666
-
- Posts: 830
- Joined: Wed Dec 05, 2007 8:38 am
- Location: 48.1184, -1.675
- Name: Matt
-
by Hazza » Mon Sep 22, 2008 9:49 am
Do you know how easy this tool makes it to create pieces of wood for my models!!!! Hit D, enter 2 of the dimensions, click click, done.
That is awesome, thank you...
See all of my SketchUp models here.
-
Hazza
-
- Posts: 250
- Joined: Sat Aug 23, 2008 10:35 pm
by Didier Bur » Mon Sep 22, 2008 10:43 am
Hi, 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...
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by mike d » Mon Sep 22, 2008 12:32 pm
thanks
The grass is always GREENER on the roof.
-
mike d
-
- Posts: 242
- Joined: Mon Oct 22, 2007 1:30 pm
by daiku » Mon Sep 22, 2008 1:25 pm
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.
-

daiku
- PluginStore Author

-
- Posts: 216
- Joined: Mon Nov 12, 2007 2:54 pm
- Location: Minneapolis
- Name: Clark Bremer
-
by pilou » Mon Sep 22, 2008 3:13 pm
@Pilou: want always more, hey ?
With some arcs now? 
-

pilou
- Top SketchUcator
-
- Posts: 21202
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by Didier Bur » Mon Sep 22, 2008 5:06 pm
With some arcs now?
No no no. Ask TIG! BTW, you can draw walls that include arcs with the "line2wall*.rb" scripts.
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Mon Sep 22, 2008 5:29 pm
Didier Bur wrote:Hi, 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 - Code: Select all
def onKeyDown(key,repeat,flags,view) ###... @key="shift" if key==CONSTRAIN_MODIFIER_KEY ###... end#def
TIG
-

TIG
- Global Moderator
-
- Posts: 20297
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Didier Bur » Tue Sep 23, 2008 8:13 am
Patch published today. Shortcut for "close" changed to "x" instead of "c".
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by pilou » Tue Sep 23, 2008 9:10 am
Damned I have x for X-Ray So my previous trick will work fine again  Just write any number like 1 then backspace for erase it then write x then Enter
It's like Glen Gould but works 
-

pilou
- Top SketchUcator
-
- Posts: 21202
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by TIG » Tue Sep 23, 2008 9:23 am
Didier Bur wrote: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...
TIG
-

TIG
- Global Moderator
-
- Posts: 20297
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by pilou » Tue Sep 23, 2008 10:01 am
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 
-

pilou
- Top SketchUcator
-
- Posts: 21202
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by Fletch » Tue Sep 23, 2008 3:03 pm
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.
-
Fletch
- Twilight Render
-
- Posts: 732
- Joined: Wed Nov 14, 2007 1:02 am
- Location: Milwaukee, WI USA / Rovinj, Croatia
- Name: Fletch
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Ben Ritter » Tue Sep 23, 2008 3:59 pm
Thank you very much Didier.
-
Ben Ritter
-
- Posts: 468
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by lapx » Tue Sep 23, 2008 6:32 pm
Thanks D! I'll have to try it out sometime.
-
lapx
-
- Posts: 582
- Joined: Wed Dec 05, 2007 11:14 pm
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Didier Bur » Tue Sep 23, 2008 6:37 pm
Hi, 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". 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.
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1386
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|