Unrapt a 3d object
 1-4  5-24  25

Previous
Next
 From:  Mark Brown (MABROWN)
2654.5 In reply to 2654.3 
Hi Gaston,

This is rather like my need to flatten the ship model I am designing in MoI so that it can be constructed as a paper model.

Are you able to attach an image of your model (or perhaps the 3d file itself)? I would be curious to see how complex the sculpture is that you are trying to unfold.

I have found what appears to be a workable method by exporting to sketchup (requires MoI V2 beta) and unfolding using the free Google Sketchup and a free ruby script. I will track down the link to the script if you want it.

The Skoogle script can sometimes fracture the mesh in weird ways as it unfolds. As Michael has advised, I found it necessary to break my model up into some logical pieces. It is also necessary to play with the density of the mesh when you export. The simpler the mesh is the better your chances it will unfold.

Finally, even though I have broken up my model along segments that I want to enforce some unfolding order on, I still make sure the pieces are "joined" so that they export with vertices joined from piece to piece (where the pieces should be one part).

This link on the Papermodelers forum gives an idea of what can be achieved:

http://www.papermodelers.com/forum/design-threads/3049-hmas-sydney-ii.html

EDITED: 25 May 2009 by MABROWN

  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:  BurrMan
2654.6 In reply to 2654.5 
Mostly for what he is asking, that type of "unfolding" of a 3d model wouldnt work for his 4th axis machine.

His 3dCut has whats called "4-sided machining" so he could just generate toolpath for his actual solid model and then just index his stock with the 4th axis!

Another aproach for him could be, if he wants to "convert his Y axis to A" or something like that could be to utilize the "3d relief" type software and then wrap that on cylindrical stock (If thats the type of wrap he is after...Cylindrical stock.).

There is a free one called Zsurf that works good with MoI.
  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:  ggagnon
2654.7 In reply to 2654.5 
Here is a simple example (drawn with v2beta) where I loft some ellipses.
I then measured the distances from the axis to the edge of each ellipses at 45 deg interval then plotted a curve for each ellipse.
Then I lofted these curves to produce the unwrapped surface that could be used to reproduce the 3d object.
I have not tried it but think that would work.
Making the slices and plotting the length of the rotating vector is a tedious process when done by hand but would be an easy one by computer.

Gaston
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:  Colin
2654.8 In reply to 2654.7 
Hi Gaston,

I believe you'll need to use Rhino4 for this kind of process.
The Command you're looking for is Flow.

As a Jeweller I've previously used a very similar process to what you're after with my Roland MDX-15 mill.
At the time I was using a "mechanical rotary unit" via a gear on the Mill's Y axis to drive the rotary.
The Y axis length is 101mm, so this meant that all rings had to be "stretched" out flat to fit the 101mm length.

One of the 3DWaxMill Forum Members named Ken Sanders wrote up a basic Tutorial on how to do this with Rhino4.
Hopefully this Tutorial will give you enough info to help achieve similar results for your model.

regards Colin
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
2654.9 In reply to 2654.7 
Hi Gaston - the more typical kind of unwrapping is to unwrap a surface to a completely flat shape, so that it can be cut out of some flat stock material like sheet metal, which can then be bent to reproduce the 3D shape.

But the example you show there, the "unwrapped" part is not flat, it is all bumpy.

I'm not sure how it would be possible to cut your unwrapped version there with some kind of material so that it could be bent back into the 3D shape?

I think if you want to cut that with only a 3 axis approach, you're going to have to split that thing up into many different pieces, or sections.

One thing that I have heard of people doing before is to take numerous planar sections through the model, for example here I have set up some lines to the side:



Then use Construct / Curve / Project to project those lines on to your solid - this forms a set of contour lines:



Then you actually throw away your main model and focus on these contours, just cutting one at a time so that you have a series of slabs that you then glue together.




Maybe something like that would work for you?

But maybe things would be a lot easier on you if you could make use of some more flexible axis cutting though...

- 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:  DannyT (DANTAS)
2654.10 In reply to 2654.9 
Hi Michael,

Not totally off subject, is there a way of determining arc length or perimeter length of an ellipses or any other irregular shaped curve, within MoI.
A script maybe ?

-
~Danny~
  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
2654.11 In reply to 2654.10 
Hi Danny,

> is there a way of determining arc length or perimeter length
> of an ellipses or any other irregular shaped curve, within MoI.
> A script maybe ?

There isn't anything set up for it currently, but I can add something in for the next beta that can be accessed by a script.

- 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:  BurrMan
2654.12 In reply to 2654.9 
Michael,
The unwrapping that he is after would be if he had "Cylindrical stock" loaded into a machine that would rotate (or 4th axis) with th "Y" moves. So if you think of his flat surface as that, then he is on the right track but I dont think his theory allows for the extra length in the cylindrical unwrap.

Danny is asking the appropriate question which is something you answered for me and provided the functions to produce the conversion from the input values. I'll find the thread and post it for Danny. This was the "Draw arc by length" instead of degrees thing you answered for me.
  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:  BurrMan
2654.13 In reply to 2654.10 
Danny,
This kindof talks about it and methods for getting this value.


http://moi3d.com/forum/index.php?webtag=MOI&msg=2558.1
  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:  BurrMan
2654.14 In reply to 2654.12 
SO think of his CNC as having a table that moves in x,y,z.

X moves left and right. Y moves forward and back. And Z moves up and down. With a lessor software, it wants you to draw things flat, then it takes the Y value and makes that value "ROTATE" the workpiece. essentially making the surface of a cylinder "Flat".

Its different than the unfolding stuff for paper or sheetmetal. It's more a toolpath thing. And you cant "Unfold" a 3d model in this manner.

I hadnt tested his theory though. But if it worked that way, and it could be done on the cad side, it would be a much sought after tool! :O
  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:  BurrMan
2654.15 In reply to 2654.9 
The software he has now does this "Slab Slicing" also. Just as you explain here.
  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
2654.16 In reply to 2654.14 
Hi Burr - I guess I kind of see.... But really I'd expect for that kind of process that is specialized to how a particular rotating machine works to be handled by a CAM program that knows a lot of details about how that particular machine operates and can analyze things appropriately for it.

MoI is focused much more on just creating the model data and not really directly on the machine interfacing part of the process.

I wish I could make MoI focused on doing every possible thing! :) But there is just not enough time available for me to make it do every possible function, especially ones where there are much more comprehensive programs available to focus on that area.


Maybe I still don't quite understand what the main purpose is - it kind of sounded to me like Gaston wanted to get a 4-axis type cut with CAM software that is only currently set up to do 3 axis stuff...

- 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:  BurrMan
2654.17 In reply to 2654.16 
>>>>>Maybe I still don't quite understand what the main purpose is - it kind of sounded to me like Gaston wanted to get a 4-axis type cut with CAM software that is only currently set up to do 3 axis stuff...
>>>>

Thats basically it, I believe too. Most software under $10,000.00 doesnt do "true 4th axis". It does whats called "indexing" (just rotating the rotary by a provided value at some given point) or "wrapping", where they take one of the x or y values and convert it to an "a" (rotary) value. conversion axis*(360/(2*pi))/radius. The software does this conversion but in "2d". So drawing a circle that needs to be wrapped on a round bar is actually an ellipse.

to cut a 3d model, he needs to read his surface in 2d. I was kindof trying to answer him also with the previous post. The method he used to unwrap the model was cool but didnt take into account the "stretch" that happens with the conversion.

Anyway, thanks.
  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:  BurrMan
2654.18 In reply to 2654.11 
>>>>Hi Danny,
> is there a way of determining arc length or perimeter length
> of an ellipses or any other irregular shaped curve, within MoI.
> A script maybe ?
There isn't anything set up for it currently, but I can add something in for the next beta that can be accessed by a script.
>>>>>>>>>

I could use this also!
  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:  ggagnon
2654.19 In reply to 2654.9 
Thank you Michael and all. You guys are amazing :o)
I knew it could be done :)
Using Construct / Curve / Project allowed me to generate profiles easily. This is a big step

In the file attached you can follow the creation of the surface I'm looking for by lighting up objects in order.

Now I *only (:o) * need to find an automated way to move, rotate and position the sector profiles along the linear path line.
Is this possible? Any suggestions?

Gaston

EDITED: 26 May 2009 by GGAGNON

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
2654.20 In reply to 2654.19 
Hi Gaston,

> Now I *only (:o) * need to find an automated way to move,
> rotate and position the sector profiles along the linear path line.
> Is this possible? Any suggestions?

Sorry, no there isn't any automated way to take a radial arrangement of curves and move them along a straight line path.

It's still not very clear to me exactly what you are trying to do. Could you possibly give some more details on your equipment and your overall plan of how you want to produce your finished design?

Note that the surface that you are generating with the "straight line" arrangement is not identical to the original 3D surface - the distances between different peaks and valleys in your shapes is different in the "straight" one versus the 3D one, that produces different shaping when you loft a surface through the straight one for example.

So there is a kind of distortion happening with the method that you are using here, it is not actually a directly "unwrapped" version of the other 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:  ggagnon
2654.21 In reply to 2654.20 
Hi Michael,

>Sorry, no there isn't any automated way to take a radial arrangement of curves and move them
> along a straight line path.

Could scripts be helpful in this? I have not written scripts for Moi yet but I'm willing to give it a go if that may ease the process.

>Could you possibly give some more details on your equipment and your overall plan of how you
> want to produce your finished design?

My machine has 3 axis to move the tool in space: X (left/right), Y (front/back), Z (up/down) and a fourth one, A axis ( 0-360deg) that rotates the stock.

In my setup,the stock axis is oriented parallel to the y axis, the X axis locked with the tool right above the stock axis. And the x axis info in sent to the rotating axis. The machine is set so the one rotation correspond to the linear path (object 4).


>the distances between different peaks and valleys in your shapes is different in the "straight"
>one versus the 3D one, that produces different shaping when you loft a surface through the
> straight one for example.

As the distance between the 3d ogject surface and the center is identical to the distance between the unwrapped surface and the center of the stock it seems to me the two should be identical, no? Of course more Intersection Lines would produce a closer lofted surface.
But you are probably right. I will need to cut a part to put my head around this one :)

Gaston


Gaston
  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
2654.22 In reply to 2654.21 
Hi Gaston,

> Could scripts be helpful in this? I have not written scripts
> for Moi yet but I'm willing to give it a go if that may ease
> the process.

Well, in theory yes, but I'm afraid that it would be quite a difficult task to produce such a script.

It's basically like you would be trying to create a toolpath generator. It's just overall the job that I would have expected a CAM program to be doing for you.


> In my setup,the stock axis is oriented parallel to the y axis,
> the X axis locked with the tool right above the stock axis. And
> the x axis info in sent to the rotating axis. The machine is set
> so the one rotation correspond to the linear path (object 4).

Ok, I think I understand what you are talking about a lot more now, thanks! :)


> As the distance between the 3d ogject surface and the center is
> identical to the distance between the unwrapped surface and the
> center of the stock it seems to me the two should be identical, no?

It's not so much about the distance to the center of the stock - it's about a difference in the distance between portions of each profile curve.

For instance when there is a depression, each projected section will be close to one another in 3D, but when you arrange these same sections in a linear progression, the spacing will be increased there.

How things are spaced is going to have some effect on the lofted result. So that's why you're going to have some difference if you try to use those linear arranged pieces to build a new loft surface through them. You'll probably tend to get different kinds of lumps and bumps in the shape because of that...

But possibly it will give you some kind of close enough result, I don't really know.


Ideally I guess you would never build a new loft surface at all and just take a whole bunch of radial profile curves from the 3D shape and use those as your toolpaths - but I always thought that is more or less exactly the kind of task that a CAM program is supposed to do for you?

- 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:  BurrMan
2654.23 In reply to 2654.21 
Here is a screenshot of a cam package that does 4th axis wrapping. On the right, a 2 inch radius cylinder. The light blue is the cylinder unwrapped. Its Y value is not "4 inches". it is 6.2832.



Here it is in top view:




I can draw a circle and generate code and cut the circle:



but the software takes my "Y" values and converts them with this:

conversion axis*(360/(2*pi))/radius

If I wanted to manually draw the same circle to feed to my 4th axis, it would look like this:



You would have to run a conversion on all your line geometry that would generate a "Y" move to create the proper shape.

EDITED: 19 Jun 2012 by BURRMAN

  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:  ggagnon
2654.24 In reply to 2654.22 
Michael,

>Ideally I guess you would never build a new loft surface at all and just take a whole bunch of radial
>profile curves from the 3D shape and use those as your toolpaths - but I always thought that is
>more or less exactly the kind of task that a CAM program is supposed to do for you?

You are right, as far as I know, the CAM programs that support 4th axis would analyse the 3d object and the tool path but those CAM softwares that support 4th axis are way over my hobbyst budget.
My CAM program, as explained by BurrMan previously, is a "four side machining". Each side is machined in a raster fashion. The tool moves at constant speed across and within the boundary of the part and after each pass the other axis is incremented. During the whole process, the tool follows the peaks and valleys of the object.
One option is to machine the top part with normal xyz operation, rotate the part 90 degrees, machine the side then repeat for the bottom and the other side.

Colin told us that the Flow command in Rhino4 does exactly what I want to do (see the tutorial attachement to Colin's message 2654.8)
As Moi3d does not have such a command, my idea is to draw the object in 3d, then modify it so the CAM would "think" it is machining one side of the part while in fact the object would be rotated and the entire machining would take place in one operation.

Gaston
My idea was inspired by Julian Beever's sidewalk painting.
http://users.skynet.be/J.Beever/dungeon.html
  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-4  5-24  25