ArcCAM
 1-12  …  33-52  53-72  73-81

Previous
Next
 From:  pressure (PEER)
11543.73 In reply to 11543.72 
Thanks Michael. I like this new plugin folder idea of yours.

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  probotix
11543.74 In reply to 11543.72 
Michael,

I have added a plasma table module to ArcCAM. Any idea when you're gonna release the next beta?

>Len
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11543.75 In reply to 11543.74 
Hi Len,

re:
> Any idea when you're gonna release the next beta?

Probably within the next couple of weeks.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  probotix
11543.76 In reply to 11543.75 
For my plasma script, I want to be able to set the cplane to a surface and translate curve coordinates to x,y values relative to the cplane. Before I write a function that takes the vectors from moi.view.getCPlane() and translates x,y,z values to values relative to the cplane origin, is there a better way to do what I am wanting?

[object MoiCoordinateFrame]
origin=0.9706,2.7112,2.7112
xaxis=1,0,0
yaxis=0,0.7071,0.7071
zaxis=0,-0.7071,0.7071



Also, is there an easy way to select the curve that makes up the surface?

>Len
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11543.77 In reply to 11543.76 
Hi Len,

If you have a coordinate frame and you want to translate a point from world coordinates into that local frame's coordinates you can do this:

var local_x = frame.distancex( global_pt );
var local_y = frame.distancey( global_pt );
var local_z = frame.distancez( global_pt );


> Also, is there an easy way to select the curve that makes up the surface?

I'm sorry I'm not understanding this part. What is the curve that makes up the surface? A curve used to generate the surface with a particular command? The edges of the surface?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  probotix
11543.78 In reply to 11543.77 
Yes, the edges of the surface?

Lets just say a cube to keep it simple. Select a face, and then have the script return the curve object which is a square made up of four line segments.

>Len
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11543.79 In reply to 11543.78 
Hi Len, on a cube there would be 12 individual line curves. There isn't any curve object that would have 4 line segments in it but you can get a list of the 4 lines for a face by face.getLoops();

face.getLoops() returns a list of trimming boundaries. The first loop is the outer boundary of the face. The 2nd and further loops are holes.

Each loop is an object list of edges.

So for the face of a cube when you call face.getLoops() there will be one loop, and that loop will be an object list with 4 edge curves in it.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  probotix
11543.80 In reply to 11543.79 
Awesome, thats exactly what I need! Also, having a list of the holes will simplify a ton.

>Len
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  DanC
11543.81 
As someone who mainly models in MoI, for CNC machining (and 3D printing) and has to export/import into Fusion360 (my god do I hate modelling in Fusion...) to use its CAM; this is a very interesting topic for me. Good luck with it. I'll be following along
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-12  13-32  33-52  53-72  73-81