Alexandre Villares
-
Posts
253 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by Alexandre Villares
-
-
Tip: Press Cntrl+A (PC) or Command+A (Mac) to quickly select all the layer links and then use the menu command Edit / Unlock to unlock them all. This will allow you to delete the unwanted ones.
-
When you create a layer link of several layers, each becomes a separate locked "layer link object".
You can always unlock and delete the ones that refer to layers you don't want linked anymore.
You can also use the View/Create Layer Link... menu to add any new layer you decide to link after the initial procedure.
Important: Z information is read only at the time of the linking. If you change your layers' Zs you should unlock, delete and re-create the affected layer links.
HTH!
[ 09-01-2002: Message edited by: Alexandre B A Villares ]
-
I wish the object browser would show a document's symbol-sub-folders as icons inside it's window (as well as on the pop-up list were it currently shows them indented)
As it is now, a document with no symbols (only symbol-folders) on it's 'root folder' will produce an empty window.
-
Have a look at the "quarter arc" tool under the normal arc tool... it draws a quarter of an oval.
Is it of any help?
-
It's named "3D Data Bar" but I never saw it working...
Any clues?
-
Have a look at Motivo4 by Pietro Moras (vectordepot/market/motivo4), It creates a hatch by picking a drawing sample.
I think the unregistered copies of Motivo4 will allow you to create simple hatches (7 or less lines) for free.
[ 08-28-2002: Message edited by: Alexandre B A Villares ]
-
Just my 3?...
1-You can reshape more than one vertex by dragging the reshape tool in order to create a reshape-selection marquee, the vertices selected will then be reshaped together.
2-Meshes can be reshaped by the selection tool in the same way (the selection marquee will select the vertices to be moved). You can convert 3D objects into meshes.
3-If you have multiple similar objects you need to change/correct often, consider using symbols.
-
quote:TiTaNiuM sAMuRai:How is your script different from clicking on Create Plug-in, then clicking Done? I believe that also regenerates all PIO's.
It's no different. But It sounds much better to tell my clients they should call the 'redraw plug-ins' menu command I made for them
[ 08-21-2002: Message edited by: Alexandre B A Villares ]
-
Samurai ,
Have a look at this path-PIO code sample:
{-----------------------------------} Procedure PolyPathPIO;VAR objHd, pHd, rHd, wHd : HANDLE; objName : STRING; i, n, Vtype : INTEGER; Vx, Vy, Vradius : REAL;BEGIN IF getCustomObjectInfo(objName, objHd, rHd, wHd) THEN BEGIN pHd := getCustomObjectPath(objHd); n := getVertNum(pHd); {ClosePoly;} BEGINPOLY; FOR i:=1 to n do begin GetPolylineVertex(pHd, i, Vx, Vy, Vtype,Vradius); addPoint(Vx,Vy); END; {of FOR base polygon loop} {*}GetPolylineVertex(pHd, 1, Vx, Vy, Vtype, Vradius); {*}addPoint (Vx,Vy); {* goes back to the 1st point - not very elegant a closing procedure - you might get strange behavior without this} ENDPOLY; FOR i:=1 to n do begin GetPolylineVertex(pHd, i, Vx, Vy, Vtype, Vradius); SetPolylineVertex(LNewObj, i, Vx, Vy, Vtype, Vradius, FALSE); END; {of FOR smoothing loop} SetPolylineVertex(LNewObj, i, Vx, Vy, Vtype, Vradius, TRUE); END; {of IF getCustomObjectInfo}END;{-----------------------------------}
I think path-PIOs are not really supposed to have holes on their paths, but I have some code for holes if you want.
-
Hi Jeff,
Have a look, they do appear on normal wireframe 3D views, but they don't appear on layer links.
I guess this could be considered a bug and I think it should be changed/fixed.
I found this out when I added a 3D locus to a section marker PIO I wanted to use as guide to the automatic section tools on a layer-linked model.
cheers,Alexandre
[ 08-21-2002: Message edited by: Alexandre B A Villares ]
-
Francesco,
Crazy idea... How about a path plug-in?
Forget the path itself and make each node/vertex be an instance of your reference marker. The reshape tool will let you change the origin and have all markers recalculated/redrawn on the spot.
[ 08-21-2002: Message edited by: Alexandre B A Villares ]
-
Here goes some code to redraw all PIOs in a drawing:
Procedure ReveilleMatin;{'r?veille-matin' is French for 'alarm clock' }{it will 'wake up' (redraw) all Plug-In Objects (PIOs) }{This will only work from inside a resource script, }{command menu (VSM) or tool (VST) } {-----------------------------------} Procedure WakeUp( H : Handle); BEGIN SetClass(H,getclass(H)); END; {-----------------------------------} BEGIN ForEachObject(WakeUp,((T=PlugInObject))); END; Run(ReveilleMatin);
[ 08-17-2002: Message edited by: Alexandre B A Villares ]
-
Hi Bickel76,
Have a look at the "Layers..." panel and you will notice there are some buttons that will let you change the layer list order.
The higher/first layer on the list is the one on top.
Layer order superseeds object order inside the layer (front/back commands).
HTH
-
Maybe it's by design...
I think I saw it happen with 3D Loci inside Symbols too.
-
Hi Frank,
I'll submit it now, thanks!
-
Just in case anyone missed it, Vector Depot is atwww.vectordepot.com.
There is a VectorScript section at the forum there, it can become a great place to share code and comments.
-
I would like to make a copy of a Symbol Definition, in order to modify it later creating a variation of the original one...
I can create a new symbol and inside it convert to group and ungroup an instance of the original one.
This sort of works, but it's not very elegant and, unless I add some code, it won't do for 2D/3D Symbols:
CopySymbol won't help because it must bring the SD from another document. Any better ideas?
rgds,A
-
How very misinformed of me, thanks for the clarification Biplab!
Good luck for you guys at the STL implementation front. Even being less smart than NURBS-based IGES, STL seems to be handy for prototype-machinery output.
[ 07-25-2002: Message edited by: Alexandre B A Villares ]
-
Is there a simple way of exporting STL?
Are there any NNA plans on that front?
(I've heard STL is an evolution of IGES wich seems to be supported by VW)
rgds,A
-
Thanks a lot Raymond! Your code will help me incredibly.
I had Cut & Paste in mind, but I find it rather disturbing that there is no other way.
I mean, manualy it's a simple Obj. Info. Palette thing and VS-wise Layers are sort of the 'ultimate containers' ... I guess it's some minimalist prejudice I've got.
Thanks anyway!
[ 07-23-2002: Message edited by: Alexandre B A Villares ]
-
Is there a simple way of moving or duplicating objects to a different layer? Am I missing something obvious?
I'm feeling very stupid about this. Any help is welcome.
-
Thanks for the reply, Fuge!
Pity it can't be done, that probably kills the plug-in I had in mind.
-
How can I create a 2D projecting LayerLink w/ VS?
LayerRef(layername) seems to produce a LL with the "Project 2d objects" option off. Is there a way to switch it on?
[ 07-20-2002: Message edited by: Alexandre B A Villares ]
-
As on the Classes... panel, I would like a duplicate button on the Layers... panel.
I guess it should duplicate all the layer content too.
cheers,A
Script editor cut and paste
in Vectorscript
Posted
Ctrl+X (cut) & Ctrl+V (paste) ?