Problems importing *.stp
All  1-12  13-20

Previous
Next
 From:  Nick (NVANLAAR)
4312.13 In reply to 4312.12 
OK, so I got the paw as a seperate solid from the main body (new solid). I cannot get the two to merge. When I try to Boolean union the pieces I get a pile of surfaces. What's going on?!?


Windows 7 x64, Precision T3400, Intel C2Q @ 3 GHz
8 GB RAM, ATi Radeon HD 3870


  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
4312.14 In reply to 4312.13 
Hi Nick, well one thing I notice at first is that your paw surfaces seem to be made up of a lot of little flat facets, like this area here is a bunch of little fragmented flat pieces:





And for example this little piece here which would ideally be made up of something like 6 faces is instead actually made up of 43 faces:



How did you go about creating those paw pieces, did you possibly use some original imported curve from a PDF file or something like that? If so you might check that file to see if it has actual curves in it or if the things that look like curves are actually just polylines with a whole bunch of little segments in them to make them look as if they were curved.

You generally don't want to directly use dense polylines like that directly as the basis for surface construction, you'll want to get them to be actual smooth curves so that you don't end up with things like small pieces made up of 43 little faces when just a few curved faces would make for a much cleaner structure.

A cleaner model structure would definitely make it a lot easier for the boolean mechanisms to do a good job - it's much harder for them to make sense of so many little slivery bits like you've got here.

I'd also double check to make sure you don't have any pieces that are so thin and slivery that they actually make for a kind of degenerate self-intersecting solid, anything that has totally collapsed degenerate surface fragments in it will cause difficulties with intersection calculations.

- 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:  Michael Gibson
4312.15 In reply to 4312.13 
Hi Nick, also looking at the underside of the paw pieces, the surface underneath (the one that you're trying to mate with the top surface of the larger piece with the boolean union) seems to be fragmented into a couple of surfaces:

I turned on control points for those surfaces, and it looks like the underside pieces are coming from a surface of revolution?

I turned on control points for this piece here:



And it appears to come from a surface of revolution like this:



The piece you're trying to mate it to with boolean union also is a surface of revolution but it is rotated to a different angle, the surface control points look like this:




Having that small piece at a different rotation than the large piece especially with the closed seam edge of the revolved surface running right through the middle of the piece (making it actually have 2 separate surface pieces for each face on the bottom of the paws) is going to make things more difficult for the boolean code to figure out - the booleans try to intersect objects with each other so it has to figure out that those pieces are supposed to be coincident - if they both came from the same original surface (instead of different rotations) that would probably be easier for them to figure out.

A couple of different methods which you could use that would probably work better would be to make the paw pieces actually push a little ways through the top surface instead of making them coincident - that will avoid complications in coincidence determination.

Also another possibility for stuff like this where the intersection is difficult is to use the Trim command to cut pieces by each other and then join the results together.

- Michael

EDITED: 1 Jun 2011 by MICHAEL GIBSON


  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
4312.16 In reply to 4312.13 
Hi Nick, I was able to get your paws glued on properly using the Trim and Join method instead of the booleans for this case, I've attached a 3DM file with the result.

This technique is something that can be used to get a result out of situations where the booleans are getting confused for some reason - in this case the booleans were most likely confused by the coincident surfaces not being identical, particularly with one's seam running through the middle of the area.

So to use Trim I went to the paw pieces and selected these faces here:



And then just deleted those faces to make those paw pieces be open surface fragments that look like this:



Then I separated out the upper surface of the main body piece that you want to connect them to, and selected that surface and ran the Edit > Trim command:



Then for the cutting objects I selected all the open edge curves of the paw pieces to use as cutting objects. That then cut the surface so it looked like this:



Then I glued all those pieces together back into a solid using Edit > Join to get the attached result.

One trick for the trim stage is that instead of picking all the little edge curves one by one in the stage where you're selecting cutting objects, you can use a script to do it with just one keystroke. To do that, go to Options > Shortcut keys, and add in a new shortcut key (I use N for "select naked edges"), and then for the command part paste in the script shown here:
http://kyticka.webzdarma.cz/3d/moi/#SelectNaked

That allows you to select "naked" edges (edges that only belong to 1 surface and are not joined between 2 surfaces) with the N key after that, it's a handy way to select cutting curves in a situation like this, and it's also very useful for analyzing which particular areas of an object are preventing it from being a closed solid object.

Hope this helps!

- 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:  Nick (NVANLAAR)
4312.17 In reply to 4312.15 
Geez... this whole thing is becoming a nightmare... the paw is from a pdf (vector) from the mfg. that I projected (direction) to the surface you created earlier. I then trimmed > extruded > exported to *.stp and iserted into an earlier version of my 123D file (pre-paw) Everything worked great up to this point. I then constrained (tangent assembly constraint) the paw to the spot it was located (worked great, bing-bang-boom). If it's any consolation, 123D would not boolean them together either. I thought it was a shortcoming of 123D so I exported (both bodies as constrained) to *.stp and opened in MoI. Here we sit.

;-\

I guess I should start over with tracing the pdf with some new curves...

At least the body imported correctly this time... ;-)

Windows 7 x64, Precision T3400, Intel C2Q @ 3 GHz
8 GB RAM, ATi Radeon HD 3870

  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
4312.18 In reply to 4312.13 
But next time around for something similar probably try to make the pieces push through each other a little bit instead of having them kind of skimming right along each other. Either that or try to get the exact same surface in the areas that are coincident instead of having one rotated or fragmented differently than the other.

Having them push through a bit tends to be easiest, since it then doesn't make too much difference exactly how the bottom pieces are structured since they will get sliced off anyway.

- 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:  Michael Gibson
4312.19 In reply to 4312.17 
Hi Nick, well I was actually able to get the pieces unioned together in MoI (using Trim + Join method described above), so if you're just looking for a solid result of what you had that's attached above.

But yeah it's good to be kind of wary of PDF data - often times PDF files are really set up just for printing and not really as a source of 3D geometric calculations in mind.

There are quite a lot of things that can be ok for printing but bad for 3D modeling.

Also if the PDF file was generated from one of those PDF printer drivers, those tend to fragment things that were originally curves into a bunch of lines, since that is pretty common for an application to only actually send lines to a printer. So that's why you may rather often see PDFs that have have only polylines with a dense number of line segments in them rather than actual smooth curves...

- Michael

EDITED: 1 Jun 2011 by MICHAEL GIBSON

  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:  Nick (NVANLAAR)
4312.20 In reply to 4312.19 
Heh... I found out 123D will and does boolean them. I was selecting the parent of the paw instead of the individual blocks in the browser... Apparently it's something they are fixing. Anyway, if I select each solid piece of the paw it booleans fine. The problem however still lies with exporting to *.stp where virtually every program broke it back into individual blocks that need to be booleaned again... I've learned my lesson with pdfs.

Windows 7 x64, Precision T3400, Intel C2Q @ 3 GHz
8 GB RAM, ATi Radeon HD 3870

  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: All  1-12  13-20