Cancel
Showing results for 
Search instead for 
Did you mean: 

SE Draft "Cloud" Maker

Gears Phenom Gears Phenom
Gears Phenom

@Tushar Et Al.

 

I am wanting to make a tool similar to the CadVertex Solution's Revision Notes or Edge PLM's Cloud Generator.

 

The UI, Options, Settings, Etc I can manage...  

 

I am hoping someone is willing to share the subroutine for drawing the arcs from an existing closed curve.   And/or at least share the logic used therein.

 

Does anyone have anything they are able/willing to share?


Matt Johnson
Solid Edge Certified Professional (ST7 & ST8)
Solid Edge ST9 (SEEC) - Production
SE2019 Pre-Production Testing
NX11 (Tc Integration) Pre-Production Testing
Teamcenter 10.1.7
2 REPLIES 2

Re: SE Draft "Cloud" Maker

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor

Hi Matt,

  

Are you doing this in Solid Edge?

I used the Evaluate function of the BSplineCurve2d object.

It takes a double in the range of 0 to 1 which are the extreme ends of the curve and returns the x,y point at that location.

For example, 0.5 will return the point coordinate half-way along the curve.

The bspline curve also has a Length property.

Then my program asks how many divisions to be made or in other terms the fineness of the bubbles from which the number of arcs to be placed can be calculated. Then simply create arc2d objects along the curve using the points as center points and the diameter the same as the bubble size.

There is additionally a check to find the direction of the curve which I am forgetting so that the arcs can be consistently placed bulging outside and don't curve inside. I will check my code and revert.

For personal or non-commercial use, I can share my entire code as well.

  

If this is for NX, let me know, I have done this for NX as well.

But it would be quite easy to find the equivalent function for NX Curves.

What I remember during my NX exploration was there were way too many types of curves in NX each with its distinct object types and set of functions and properties.

 

Regards,

Tushar

Re: SE Draft "Cloud" Maker

Gears Phenom Gears Phenom
Gears Phenom

@Tushar   this is for Solid Edge...

 

The use would be for me and my company but would not be sold....?

 


Matt Johnson
Solid Edge Certified Professional (ST7 & ST8)
Solid Edge ST9 (SEEC) - Production
SE2019 Pre-Production Testing
NX11 (Tc Integration) Pre-Production Testing
Teamcenter 10.1.7