Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inconsistent Behavior

7 REPLIES 7
Reply
Message 1 of 8
SaeedHamza
241 Views, 7 Replies

Inconsistent Behavior

Hi,

 

I've been creating scripts for a while now, and sometimes I create a script with no issues what so ever and yet Fusion acts strangely ... and by strange I mean that I get a message that says there is a failure in a certain tool ( although nothing is wrong ) and then when I keep working the issue is just solved by itself!

 

This might be hard to understand so here is an example attached for a script that re-lofts faces giving them a more uniform iso curves ( it's a pretty long script but the video attached explains everything in a simple way).

 

I'd love if such inconsistent behaviors are solved as soon as possible because it's such a pain to try solving a problem that is actually not happening ...

 

Thanks, Saeed.

7 REPLIES 7
Message 2 of 8
SaeedHamza
in reply to: SaeedHamza

for some reason I can't attach my screencast telling me that I exceeded 100000 letter when I didn't type except 1 line ...

Any ideas why?

 

Thanks

Message 3 of 8
SaeedHamza
in reply to: SaeedHamza

here is the video since the screencast isn't working

Thanks

Message 4 of 8
BrianEkins
in reply to: SaeedHamza

Can you provide the model that demonstrates the problem?  I believe this is an issue with either the loft command or the modeling kernel but we'll need to have a simple reproducible case for them to look at.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 5 of 8
SaeedHamza
in reply to: BrianEkins

Hi Brian,

 

Sure, here it is

Please let me know if something came up

 

Thanks

Message 6 of 8
BrianEkins
in reply to: SaeedHamza

I ran your program and the problem surface in the part and am getting the same problem you're seeing. I manually tried to create a loft using the curves generated by your program and I get the same results but it points out where the problem is.

 

Loft1.png

 

I also noticed is that the outer boundary curves are not included in your set of rails. I manually created a new loft and this time included them as rails but ran into the same problem but this time it was clearer where the problem is, as you can see below.

Loft2.png 

 It seems there are some problems with your curves.

 

 

 

 

 

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 7 of 8
SaeedHamza
in reply to: BrianEkins

Hi Brian,

 

Thanks for taking the time to look at this. Yes, I believe if I select the outer edges of the face as rails, it's gonna fail just like you attached above, but as you saw in my video, I didn't select the outer edges, which should be fine either ways, and the loft worked by itself after doing something irrelevant  to what the script did ... but your reply already gave me a hint to try something out so thanks again.

Message 8 of 8
SaeedHamza
in reply to: BrianEkins

Hi @BrianEkins,

 

This is a question regarding the same matter, so I didn't create a new post...

 

I made a much simpler script to extract iso curves from the surface of a selected face on both directions U and V, and then created a loft where the U iso curves are profiles and the V iso curves are rails, and it worked nicely on some faces, but on other faces I had a problem ...

All faces generates curves along the U direction, so the U curves are perfect for all faces, but for some reason some faces just generate one curve along the V direction...

Any ideas what went wrong here?

it's the same example I attached before

 

Thanks, Saeed.

 

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report