Jump to content

Paolo

Member
  • Content Count

    61
  • Joined

  • Last visited

Everything posted by Paolo

  1. Paolo

    Working with vectors...

    The order of rotation MUST respect the VW convention of XYZ order and because vectors are substantially 3D points (the vector starts from 0,0,0 and goes to that point), the rotation has to have the origin (0,0,0) as pivot.
  2. Paolo

    Dimensions plugin source

    I'm working on a plugin that makes possible to put dimensions on ISO Views. Let us say I've done it, the result is a group composed by a dimension line with the exact measure, bracketed in angled lines according to the ISO view. The problem is that the behavior of this group is far from that of common dimensions, in a few words, it is no more editable. What I'm searching is the code source of dimensions plugin (if it exists) to make possible my dimension to be dragged, resized and recalculated. For whom interested on ISO View dimension script, write to me at project@arcoarredamenti.it Paolo
  3. Paolo

    Databases on the fly

    Is there a way to create via VectorScript a database on the fly (if it is not already in the document) or, as a second chance, import it from a template document. The first solution is available with WorkSheets (CreateWS), the second is available for Symbols (CopySymbol). I've not found nothing similar for Databases. Can someone help me? Thanks!
  4. Suppose to insert two adjacent symbols (or parametric objects, e.g. 2 doors) in a wall (note, adjacent means that the second object left side starts from the first object rigth side). Doing this you expect should be no wall between the two objects, instead, in 3D mode, you'll see a zero thick (3D polygon) part of the wall. This happens even if you overlap the two objects. It seems that an object in a wall takes with him a frame of 3D polygons all around its perimeter. The question is: there is a way to get rid of this frame?
  5. Paolo

    plug-in free exchange

    thanks Francesco, i'll go and watch it bye
  6. Paolo

    plug-in free exchange

    Is there in the web a place where we can upload/download our vectorworks creations (plugins, sources, symbols, 3D models etc.)?I have made some useful plugin and I'd like to share it, for free, of course! Paolo - Italy
  7. Paolo

    Classes in PIO's

    quote: Originally posted by Alexandre B A Villares: That is a very good question indeed! If I uderstand it correctly: Is it possible to change the value-list of a PIO pop-up parameter from inside it? Note: To chage a parameter's value is easy, what Paolo wants is to change the options that will appear on the pop-up at the Obj. Info Palette... rgds,Alexandre -Yes, it is so, let's have, for example, a parametric chair in which legs material have a pop-up menu class where we may choice from one of the classes available on the drawing. ciao,Paolo
  8. Paolo

    Classes in PIO's

    Is it possible to dinamically change a custom object menu displaying all available classes in the document? The goal is to have specific plugin elements with classes choosen from the standard document list (not style-1, style-2, style-n prepared in the usual way in plugin parameters editor).I've tried to set the list in the menu at object creation (IsNewCustomObject), but when I attempt to change menu parameter values with SetRField (in a FOR cycle passing a class string at each loop), the result is the insertion of only the last value passed, not the entire list. I fear this is not possible as I have never seen, till now, a plugin with such behaviour, but I'll be glad to be contradicted.
  9. Hello, I'm Paolo from Italy, Using VW9 I realized that boolean operations between solids are a long way worse than VW8.5.The evidence jump to eyes using boolean subtraction when one of the solids involved contains round parts (ovals or round rect) and is obtained by multiple extrusion. Perform the following test in VW8.5 and VW9.0-------------------procedure test;varbody, hole, edge, difference : HANDLE;result : INTEGER;chrono : LONGINT; beginchrono := GetTickCount;beginXtrd(0,10); RRECT(-20,20,20,-20,14,14);endXtrd;body := LNewObj;Move3DObj(body,0,0,-1); beginXtrd(2,10); RRECT(-18,18,18,-18,12,12);endXtrd;hole := LNewObj; beginMXtrd(2,0); RRECT(-18,18,18,-18,12,12); RRECT(-16,16,16,-16,10,10);endMXtrd;edge := LNewObj; result := SubtractSolid(body, hole, difference);result := SubtractSolid(difference, edge, difference); chrono := GetTickCount-chrono;message(chrono,' /60 equivalent to ', chrono/60, 'seconds');end; run (test); ----------------- test results on my computer are:with VW8.5: 6/60 equivalent to 0.1 secondswith VW 9 : 970/60 equivalent to 16.16 seconds!!! The test has been performed on a PowerMac G4 533 MHz, 384Mb phisical RAM, 576Mb virtual RAM122.880 Kb memory assigned to VW8.5160.000 Kb memory assigned to VW9 Both programs have 3D conversion resolution set to minimal in the general preference panel. (Obviously higher 3D resolution means test time increasing). I'll be glad to know why in VW9 this simple operation is incredibly slower.Please, let me know if the test has similar results on your machines and help me to find out a way out. Thanks -- ARCO ARREDAMENTI srl55049 VIAREGGIO (LU) - ITALY - Via Aurelia Nord, 102tel. +39 0584 46465 - fax +39 0584 46466internet: http://www.arcoarredamenti.it - e-mail: info@arcoarredamenti.it
  10. Hello, I'm Paolo from Italy, Using VW9 I realized that boolean operations between solids are very much worse than VW8.5.The evidence jump to eyes using boolean subtraction when one of the solids involved contains round parts (ovals or round rect) and is obtained by multiple extrusion. Perform the following test in VW8.5 and VW9.0-------------------procedure test;varbody, hole, edge, difference : HANDLE;result : INTEGER;chrono : LONGINT; beginchrono := GetTickCount;beginXtrd(0,10); RRECT(-20,20,20,-20,14,14);endXtrd;body := LNewObj;Move3DObj(body,0,0,-1); beginXtrd(2,10); RRECT(-18,18,18,-18,12,12);endXtrd;hole := LNewObj; beginMXtrd(2,0); RRECT(-18,18,18,-18,12,12); RRECT(-16,16,16,-16,10,10);endMXtrd;edge := LNewObj; result := SubtractSolid(body, hole, difference);result := SubtractSolid(difference, edge, difference); chrono := GetTickCount-chrono;message(chrono,' /60 equivalent to ', chrono/60, 'seconds');end; run (test); ----------------- test results on my computer are:with VW8.5: 6/60 equivalent to 0.1 secondswith VW 9 : 970/60 equivalent to 16.16 seconds!!! The test has been performed on a PowerMac G4 533 MHz, 384Mb phisical RAM, 576Mb virtual RAM122.880 Kb memory assigned to VW8.5160.000 Kb memory assigned to VW9 Both programs have 3D conversion resolution set to minimal in the general preference panel. (Obviously higher 3D resolution means test time increasing). I'll be glad to know why in VW9 this simple operation is incredibly slower.Please, let me know if the test has similar results on your machines and help me to find out a way out. Thanks Paolo Marcuccetti -- ARCO ARREDAMENTI srl55049 VIAREGGIO (LU) - ITALY - Via Aurelia Nord, 102tel. +39 0584 46465 - fax +39 0584 46466internet: http://www.arcoarredamenti.it - e-mail: info@arcoarredamenti.it
  11. Paolo

    Beveled extrusion

    I'm trying to do a script that starting for a selected polygon, given a step parameter, a bevel ray and an extrusion value, create a 3D object corresponding at the original polygon extruded beveled with the corrisponding ray. The idea is to use the tapered extrusion for each step, changing the height and the angle values. I've started this project but I found some obstacles to go on. Is anybody interested in a collaboration to realize this? If yes, contact me to share ideas and code. Thank you.

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×