chamfer on lines?

Next
 From:  rhodesy
2402.1 
simple problem - how do i get chamfer to work on line work? In the example I have a U shape created with a polyline (left). If I fillet it with a 5mm radius I get the expected result. If I try and chamfer it with a 5mm (or any other) radius nothing happens. Any ideas?


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:  Frenchy Pilou (PILOU)
2402.2 In reply to 2402.1 
For a chamfer it's not a radius, it's a distance!
Select all join it
Call chamfer
input a distance
Just decrease your measure if nothing append ;)
Try with 0.5 for example ;)
  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
2402.3 In reply to 2402.1 
Hi rhodesy, normally you would just run Chamfer, select the vertices which want to chamfer (if this is a polyline and not individual line objects) and then enter 5.

Here is a quick demo of this:




If this is not working as expected for you, maybe you have run into a bug... Can you please post the 3DM file with your lines in it so I can take a look at them?

Actually in general if you would also post a 3DM file with your objects in them in addition to (or even in place of) a screenshot, that would help a lot in answering your questions, because I cam more easily examine your objects in the 3DM file.

- Michael
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:  rhodesy
2402.4 
Yes this what i did so i think it might be a rare bug. I'll send the file through tomorrow. Cheers
  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:  rhodesy
2402.5 
Ok here is the file - sorry it is so massive! Not too sure why it is such a large file size, the 2 jpegs are only about 1mb each so its not that? I have tried the chamfer in a new file and it works just as expected. I opened up the file i was having the problem with, drew the line (simple polyline) did the chamfer and it worked! Then tried it again exactly the same and its back to not working. Which seems very odd. Another thing to note with this file (and another one that i did that had a similar roof profile) is that the roof is a sweep with 2 profiles and a single rail, this took about a minute to calculate on a 2.5ghz quad core machine which seems quite a long time. I have saved the file and when i have come to open it you should notice that the sweep has holes in it that weren't there when it was originally created - I have also tried this again this morning and the same thing happened. Why is this and why does moi generate a large file that becomes sluggish to work with when that sweep object (which isn't overly complicated) is turned on? I have tried disabling history for that object and turning off hidden lines but neither of which helped much.

Many thanks for looking into this
Rob

P.S. the plan jpeg is an old drawing thats why the building doesn't line up with the model - architects!!!
  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:  rhodesy
2402.6 
AArgh sorry tried to upload a couple of times - it's 46mb so within the limit but windows explorer has told me it can't display the webpage (i think the upload facility timed out even though the loading bar had reachedthe top some time ago).

I'll try and send it to the moi email, but might bounce if you have a limit on email size. Hope i don't clog up your system!! Sorry in advance if i do!

Cheers

EDIT: Ok got a bounce back saying there was a problem with the recievers email server. So i have copied and pasted the problem lines. Try and chamfer the poly line to the left of the three shapes or draw your own 40mm up, 25mm across, 40mm down and try a couple of times. Then try the sweep with the two long shapes and the rail linking them. Many thanks again.

EDITED: 15 Feb 2009 by RHODESY


  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
2402.7 In reply to 2402.6 
Hi rhodsey, thanks for posting the file. Yes, this definitely works better to separate out just the few objects that are involved rather than the whole 46Mb file!

For a file that large you pretty much need to use one of those file sharing systems like divshare, or Windows Live Skydrive.

But anyway, I can repeat the problem over here - it seems to be related to the somewhat large size in units, your object there is about 10,000 units away from the origin. If you switch to meters instead so that you don't have quite as large of numbers, the chamfering will then work a lot better on that shape.

In general it is pretty good to pick a unit system that will give you numbers more in the range of 0 to 3000 or so and not a whole lot larger than that, because MoI will typically do calculations to an accuracy of 0.001 units, and if your object is of a large size numerically like 20,000 units across or something like that, then this accuracy is actually too high and you can get things like intersection curves with way too many points in them. That could probably be the reason for your large file size as well.

I'd recommend using Meters or centimeters instead of millimeters for something of this size. That will keep you in a better numeric range.

I'll take a look and see if it is possible for chamfer to be tuned up in this case, but you will run into various other problems when working with larger numeric sizes, so it is best to avoid that.

- 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:  rhodesy
2402.8 
Ah useful to know! mm is the standard for architectural work over here in europe - avoids the misplacing of the decimal point i think! So yes many buildings are quite a few mm long. I will try working in cms or m. I don't suppose there is a way to override the moi acuracy for calculation to take this into effect? Just tried converting the model into cm and it works a treat - much faster and the file is down to 29mb. I like the way moi automatically scales your whole scene for you - would be cool to be able to scale the background images at the same time.

wow just rescaled up the model from cm to mm and the file size and resposiveness has stayed the same as if it was in cm. So could there be a way to turn down the sensitivity or become unit independant? Or maybe something that downscaled the object for the opperation and then rescaled it behind the scenes on completion? would you notice any difference visually to the model or run into problems with changing the resolution/accuracy?

Thanks for your help once again.
  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
2402.9 In reply to 2402.8 
Hi rhodesy,

> I don't suppose there is a way to override the moi acuracy
> for calculation to take this into effect?

There isn't currently any way to override the accuracy level, but I do have some plans to try and make the accuracy more adaptive to the size of the model rather than fixed at one specific size. There are a couple of things that do this in v2 so far such as Join and Network. As time goes on I want to tune up more things to work in a similar way but it can tend to be a somewhat delicate area to mess around with.


> Just tried converting the model into cm and it works a treat -
> much faster and the file is down to 29mb.

What will probably happen also is that your file size shouldn't grow quite as quickly when you do some additional operations at the somewhat smaller size level, like booleans, etc... since those will generate less dense intersection curves.

I'm actually kind of surprised that it made much of difference right away.


> I like the way moi automatically scales your whole scene for
> you - would be cool to be able to scale the background images
> at the same time.

Oops, that is definitely an omission there! Yeah that would definitely be better for those to scale along with objects. I should be able to fix it up to do that in the next v2 beta. By the way you can disable the scaling if you wish by going to Options / General / Unit options / Scale on unit system change checkbox.


- Michael

EDITED: 15 Feb 2009 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:  rhodesy
2402.10 
Great thanks for the explaination and the scaling of images addition. Im working in cm now and things are running smoother. Think I should probably try working in metres though as many of our buildings are over 3000cm long. Cheers
  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:  Michael Gibson
2402.11 In reply to 2402.10 
Hi rhodesy, I was able to track down the chamfer problem to a bug in the geometry library, it was overly sensitive to some slight accuracy drift (like in the area of 0.000000000000001 units) that can occur when doing operations on curves that are a bit of a distance away from the origin.

I've fixed this up for the next v2 beta, so that chamfer will be able to work on your original curves there. But it is still a good idea to work in that new scale anyway to avoid that "dense intersection curve" problem currently.


I've also tuned up the unit system scaling to also apply to background images for the next v2 beta as well.

Thanks for reporting the problems and for posting the file so I could debug it over here!

- 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
 

Reply to All Reply to All