Auto Group Command for Make2d

make2d
rhino
python

#1

How can I make Rhino work so that when I do a Make2D command it automatically groups the lines for each view individually? Would python be the way to go?


(John Brock) #2

The Make2d command in V6 WIP already has a Group option that Groups each view.
A command macro using the scriptable version of the command should do the trick.


#3

Thanks John,
What do you mean by a command macro, I don’t want to have to wait for V6?


(John Brock) #4

Make2d in V5 does not have the Grouping option.
Make2d in V6 is far better than the tool in V5.

https://wiki.mcneel.com/rhino/basicmacros


#5

Thanks for the Macro Link is there any way I can create an alias command for my Make2d
I get stuck because of the pop up window when you actually choose to do Make2d

I want the command to go something like this

Command: ‘_Make2D
Creating 2d drawing (perspective view)… Press Esc to cancel
’_Group
Creating 2d drawing (top view)… Press Esc to cancel
’_Group
Creating 2d drawing (front view)… Press Esc to cancel
’_Group
Creating 2d drawing (right view)… Press Esc to cancel
’_Group

How do I make this work?


(John Brock) #6

Precede the command name with a hyphen:
"-Make2d"

Run the dash (scriptable) version of the command from the command line so you see what all the command line options are and what character is passed to trigger it.


(Rajaa Issa) #7

@Roy2 A simple macro (that you can stick on a button, or just paste to command line) can help. For example:
!_Make2D _Pause _SelLast _Group
One issue is that you will not be able to group each of the 4 views separately.

As JB mentioned, in V6 there is a grouping option that does that for you.


#10

Thanks Rajaa


#11

Do you have a solution if i want to have 2d drawing of XXX polysrf/srf/solid groups with texts on them to be grouped after the make2d


(Pascal Golay) #12

Hi Blastered - the grouping in V6/WIP is per input object - is that what you mean?

-Pascal