Jump to content
Sign in to follow this  
DomC

Some handy Nodes and Wrapper for PointGrids

Recommended Posts

There are some routine jobs to create point grids on 2D or 3D Objects for which I created some additional nodes and wrappers. I tried to make them proper and open like the standard nodes. I post a few of them.

Core functionality:

1. Creating a Grid all over an Object's bounding box

2. Evaluating, if the created point are in or on a surface

Different nodes for that, because it is better, to have not Nodes which do to much. So we can flexible use them in different cases.

Edited by DomC

Share this post


Link to post

Some New nodes:

(Also I notice, how much faster and better it is to first calculate the values just with list handling and at the end drawing real geometry. )

2D Pt Shaker:

Move every Point (2D Point list) randomly by a value

looser:

Deletes randomly values of a list

shuffler:

Randomly grab values out of the input and creates a new list with same length

Symbol 2D and 3D

All those nodes are handy to use with point grids to get a less strict look of a grid. A natural spread of points.

If someone notice, that this stuff can be done with standard nodes, let me know this. It would be pointless to "hack" nodes for things that can be easy done with a wrapper or a standard node.

Edited by DomC

Share this post


Link to post

Another one ... Fibonacci Sphere Point Node

Somebody knows if we just can copy paste and utilize python code from the internet?

I think yes. But it's courtesy to write the source of the script into the script code.

Share this post


Link to post

I tried to use the 'grid bbox offset' and 'Get ZatXY v001' nodes and noticed some strange behaviour. On a cube it gives wrong results, especially with a small 'int' of 2.

And on a loft-surface as shown in the jpg the hemispheres are sometimes under and sometimes above the surface (see shade).

Have you noticed this and maybe already solved it?

Thanks for sharing!

Ernst van der Vecht

Share this post


Link to post

Thanks for feedback.

1. gridbox_divx

Hi the Grid Wrapper is "old style". Attached a new Version, which uses the mix2Node with a cross reference.

2. Loft Surface

If I test that, the points out of the "Get Z at XY" Node. Are exactly on NURBS Surfaces. Or NURBS Surfaces created with the loft tool. Propper measle-points :-)

Maybe check first the points with a locus or sphere, instead of a Symbol. Maybe the 3D Symbol-node, produces something wrong. I did not checked that.

Also Check this:

1. GetBBox should be used in 2D Plan View.

2. Set User Origin to Vectorworks origin

3. Draw near the Vectorworks origin

4. If you work with named objects check, if maybe the wrong object is named.

Share this post


Link to post

I used the new style wrapper and it works now. The thing was, with OpenGl on low resolution, some of the spheres disappeared... Maybe it has also something to do with drawing a 5000x1000 surface on a 1:1 scale. That way it can never be close to the origin.

Thanks.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

 

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.

×
×
  • Create New...