Jump to content

Bob Wagner

Member
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Bob Wagner

  1. You could try using my unfold plugins. http://vectorwiki.org/index.php?title=Geometry_Plug-ins Unfolding
  2. Careful, Julian may just take up the stair challenge. He also brought us the Animationworks tools.
  3. Charles has already put it on the wiki site http://www.vectorwiki.org/index.php?title=Geometry_Plug-ins
  4. Download these from http://www.vectorwiki.org/index.php?title=Geometry_Plug-ins Bob and thanks Charles
  5. Is the only way to dimension Circles on a 3D model to draw a 2D circle in the Annotate window then add the Dimension, then center lines. If so I feel a one step plugin coming on. Bob Wagner
  6. Mike m oz has the same solution as me almost...I would try converting your profiles to NURBS then moving them in 3D space, then lofting. Doing this has gotten me out of a lot of problem modelling. Bob
  7. Try my unfolding plugins. http://www.vectorwiki.org/index.php?title=Geometry_Plug-ins Bob Wagner
  8. My interest has been rekindled again. I have by accident found a workaround in VW 12.5 which overcomes the problem I had when I went from 10.5 to 12.5. If anyone is interested - my code is rough but it works for most of the simple transition pieces, truncated pyramids etc that I have thrown at them. I have 3 plugins. 1. 3D Poly-Ungroup - this coverts your objects into 3D Polygons 2. Unfold3DPolygon Reorder - This orders the triangles so that they all connect continuously. You have the choice of which triangle to start with ( Biggest is default) 3. Unfold3DPolygon Triangles -You should have a solution. my email: b.wagner@ozemail.com.au
  9. Have just made a discovery in 12.5.3 that has helped me solve a problem that occured when going from 10.5 to 12.5 So If anyone is interested email me.
  10. I have wanted this for ages and have actually created 2 plugins to do this. However I am a self made programmer and so my plugins are a little limited. I have taken to exporting my models in 3DS format then opening them in Pepakura to do the unfolding. If you want to try my plugins you are welcome. just email me b.wagner@ozemail.com.au
  11. Has anyone done any animation stuff in VWScript? Besides the talented Julian. part of our Graphics Syllabus is a section on locii. The tracking of a point through space like tracking the path of the valve on a car tire. Pretty good fun if you are easily amused. I wrote a plugin a few years ago that creates the path. This week I have decided to animate the wheel ( like the examples - crank and gears in the Goodies folder in VW). I have stayed with a plugin that allows you to change the diameters of the wheel and value point etc. The only problem I have is when the animation occurs it always occurs on the screen at world coordinates of (0,0) and rotation of 0. If you place the plugin object anywhere else if works fine- except for the animation which takes place at (0,0). Bob Wagner
  12. I use TextPad on the PC. It took me 10-20 minutes to create a file that gave me syntax colouring and line numbering. NotePAD2 is also good as it doesnt need to install on your harddrive, you can run it from your USB stick - good for portability. Syntax colouring can be done here also but requires a compiler but at least you get line numbering.
  13. Thanks for this. However I already an cope with this, the problem is actually dividing the big polygon into the individual triangles. Number of sides -2, is how many triangles minimum needed. however you have to check for turns left and right and check it the triangle actually formed is in the original polygon etc. Bob
  14. Go to Vector Depot http://www.vectordepot.com/plug-ins/ and download my fastener plugin. Works fine in mm. Should be fine in inches as well.
  15. Does anyone have in their collection of code an algorithm to triangulate a 3D polygon. In version 10.5, I did this by Converting to Nurbs then converting to 3Dpolys. This doesn't work in 12.5, not unless you choose each nurb surface and set its U and V value to 2. This I haven't worked out how to do in a plugin. At the moment I export as 3DS and re-import the 3Ds file. This might be ok for now but not what I really want. Why do this you ask? Well I have my unfolding working pretty well, but it all requires a model to be triangulated.
  16. Can you set the U and V Values of a nurbs surface in a VW script? You can certainly enquire of them, I need to set them from the default of 1 when you converttoNurbs to a value of 2. I dont want to manually do this in the Object info box, because I may be dealing with hundreds of surfaces at once, so a script is the way to go for me if possible.
  17. You are indeed brilliant. I tried this and it works great. tempHandle := CreateRoof(TRUE,0,200,1,0); While j>=1 DO BEGIN AppendRoofEdge(tempHandle, px[j],py[j],RoofAngle,Eave,RoofHeight); j:=j-1; end; ResetObject(tempHandle); Bob
  18. Well all fixed. I did a work around. I had to insert a dormer, (copied and pasted from reference) and then delete it and all was well. Don't know why, but I aint fixin it now that it works. See below, thanks for all the input. tempHandle := CreateRoof(TRUE,0,200,1,0); While j>=1 DO BEGIN AppendRoofEdge(tempHandle, px[j],py[j],RoofAngle,Eave,RoofHeight); j:=j-1; end; gabID:=CreateGableDormer(tempHandle); SetGableAttributes(tempHandle,gabID,TRUE,6'0",10'0",2'0",#45?0'0",#45?0'0"); {SetDormerAttributes(tempHandle,gabID,3,18'4",TRUE,3'0",63,FALSE,3'0");} {SetDormerThick(tempHandle, 2",1.83333");} RemoveRoofElement(tempHandle,gabID);
  19. The bit of code looks like this: tempHandle := CreateRoof(TRUE,0,200,1,0); While j>=1 DO BEGIN AppendRoofEdge(tempHandle, px[j],py[j],RoofAngle,Eave,RoofHeight); j:=j-1; end; Nothering appears where the roof should be. Bob
  20. Bob Wagner

    Roofs

    I have a plugin in version 10.5 that builds a house with one dialog box that sets wall height thickness and roof settings. It produces the externals of house in one go. Great for my students. They then add internal walls, doors and windows. Here is the problem the plugin in version 12.5.1 creates the house without the roof. However in my searching for answers I export a vectorscript from 12. In a text editor the roof is there. I then changed the creation to version 10 in the Vector script and read this into version 10.5, and you guessed it, the roof is there. Read it back into 12.5 and no roof, re-export the script and it appears back in version 10. Any ideas would be good, I have already spoken to Julian Carr and I know that my polygons are all clockwise. I have checked the line styles and classes for visibility. This has me baffled, any one out there. This is driving me up the wall - and into the non existent roof. thanks Bob Wagner
  21. I will check my problem on my mac.
  22. I am sure that I could write a plugin / script to do this. I am unfolding triangles and all I know is the length of the sides. So let me know.
  23. I have been writing a plugin that unfolds triangles in 10.5. Part of this is to convert objects into triangles. I have a plugin that convert objects to nurbs and then to 3D Polygons by using a script that calls on these builtin menus. Nice and easy and it works in 10.5. That was the easy part. However I have just tried it in VW12.5 and the process doesnt triangulate the polygons anymore. Anyone tried to triangulate polygons? Before I have to write this part again.
  24. Is there a limit to the length of a script. I have about 800 lines of code in one script ( A lot of stuff will be removed- just checking routines etc as I go). Anyhow when I close the scripting window the last few lines disappear, never to return. Then I get the usual cant run procedure dialogue.I am coding in VW10.5.
  25. I wrote my own simple house plugin for my school girls. It builds the whole house in one go based on a polygon. Floor, walls, roof and you guessed it gutters.
×
×
  • Create New...