same dimensions result into different splines

same dimensions result into different splines

cekuhnen
Mentor Mentor
1,511 Views
18 Replies
Message 1 of 19

same dimensions result into different splines

cekuhnen
Mentor
Mentor

check the vid, basically I dimension one spline acr and with the same dimension values

in a new sketch all looks different - which to my understanding should not

 

https://drive.google.com/a/ckbrd.de/file/d/0Byzv_NlyKp_2YzFDZlNZdzNyLVE/view?usp=drivesdk

Claas Kuhnen

Faculty Industrial Design – Wayne State Universit

Chair Interior Design – Wayne State University

Owner studioKuhnen – product : interface : design

0 Likes
1,512 Views
18 Replies
Replies (18)
Message 2 of 19

jiang_peng
Autodesk
Autodesk

Hi Claas,

 

Could you please attach the f3d here or directly send to me? My email is Jiang.Peng@autodesk.com

 

thanks

0 Likes
Message 3 of 19

Anonymous
Not applicable

Claas, you're right, this is super weird.. I tested it out and I got three different results...

 

Sketch 2 is referenced to sketch 1. Sketch 3 is completely unlinked but with same constraints and dimensions. All three are different..

 

They all have smooth constraints to horizontal lines at ends, vertial constains in middle spline control point line, which is colinear to midpoint on the vertical line.

 

I've attached the f3d below.

 

Spline Deviations 01

 

Spline Deviations 02

0 Likes
Message 4 of 19

cekuhnen
Mentor
Mentor

@Anonymous

autsch = looks like the sketch engine has a bug here a pretty hefty one

 

@jiang_peng check Ndenekamps file simple thing to test on your side

Claas Kuhnen

Faculty Industrial Design – Wayne State Universit

Chair Interior Design – Wayne State University

Owner studioKuhnen – product : interface : design

0 Likes
Message 5 of 19

Anonymous
Not applicable

I played around with this some more, and found that merely putting a dimension of a spline handle (a driven one in fact) changes it..

 

In the gif you can see the driven dimesnion being added. I then undo and redo a couple of time to show the difference.

 

It's like the observer effect or something..

 

Spline Driven Dimension.gif

 

Niels

0 Likes
Message 6 of 19

daniel_lyall
Mentor
Mentor

that`s a crazy bug


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 7 of 19

jiang_peng
Autodesk
Autodesk

Honestly it's not a surprise. In the gif, when a dimension - even a driven dimension - added to an inactive tangent handle. Firstly we will active the handle, so the driven dimension will be attached to the active tangent handle. Secondly, we will triger a solve which will update the shape of the spline. In this case, the new added active tangent handle will impact the shape of the spline.

Message 8 of 19

cekuhnen
Mentor
Mentor

@jiang_peng  I did not save that file. But since @Anonymous has the same issue maybe rebuild it or ask him to send you the file.

 

I did a quick test and it worked this time without a problem.

Claas Kuhnen

Faculty Industrial Design – Wayne State Universit

Chair Interior Design – Wayne State University

Owner studioKuhnen – product : interface : design

0 Likes
Message 9 of 19

cekuhnen
Mentor
Mentor

@jiang_peng

 

I understand your point and the logic makes sense but it shows that users are confused by how the UI displays data.

 

So we add smooth constraint. First Fusion does not allow you in anyway adjust the G1 and G2 point position or weight like with cv curves.

I think that is what most non solid modeler users will look for. Alias blend curve is also pretty smooth

 

In Fusion often the smooth constraint is only step one because they to adjust accelerationa and such you need to add the dimensions.

And with a G2 constraint you can on Fusion only access to the G1 value via the tangent handle.

 

The problem is that you see the position of the handle and see the shape of the spline so you would assume that with the dimension

added and not changing the tangent handle the spline will remain the shape.

 

After all the fit curves auto adjust the handles so one can assume that the handle always represents some value to massage the curve.

 

 

I hope this makes sense why @Anonymous feels confused when he adds the value.

 

I cannot wait till the sketch engine has cv curves and aling commands for g0 g1 and g2 like in Alias because I find the spline tool very hard/labor intensive

to use and often it adds needles complexity to a design process.

Claas Kuhnen

Faculty Industrial Design – Wayne State Universit

Chair Interior Design – Wayne State University

Owner studioKuhnen – product : interface : design

0 Likes
Message 10 of 19

Anonymous
Not applicable

Right. but the spline aready had a smooth constraint to the line. I can sort of see how I am activating the handle should change it. It was already showing up at a certain lenght, shouldn't that be the lenght that would cause the spline to have the shape that it currently has? Why else would it have the lenght that it has?

 

Additionally, say I sketch my spline freehand, and I like the shape that it has. Now I want to 'lock it in' by dimensioning it. Whith the way it currently works as soon as I would dimension it, the spline that I liked will suddenly change?

 

Niels

Message 11 of 19

cekuhnen
Mentor
Mentor

@Anonymous thats why I think Fusion needs a blend curve  this spline with handels is not always the best idea. i am very curious how they will to the cv curve implementation

Claas Kuhnen

Faculty Industrial Design – Wayne State Universit

Chair Interior Design – Wayne State University

Owner studioKuhnen – product : interface : design

0 Likes
Message 12 of 19

LMD001
Collaborator
Collaborator

 

 

Hello Claas and Niels,

 

Tried this with dimensions 10 times greater, and then these splines appear identical (not an extensive test, I had 5 consecutive identical splines). So it seems that size does matters in this case. 

 

Screen Shot 2015-10-10 at 10.30.26.png

 

 

Screen Shot 2015-10-10 at 10.32.21.png

 

I'm just guessing here but may be some kind of rounding error when the dimensions are too small, of course this should not happen.

With the original dimensions, (10 mm - 1,25 mm - 5,5 mm and 3 mm) it is very hard to end with the same splines, out of 4 I had 2 identical and 2 different ones.

 

Hope is of any help.

 

Best regards,

Ludo

0 Likes
Message 13 of 19

jiang_peng
Autodesk
Autodesk

In our spline solver, we have a inner ratio parameter which is calculated when the spline is created. So after that, we can drag the fit points to make a smaller spline, but the ratio is not changed. That ratio parameter will also impact spline shape.

sp1.png

 

sp2.png

 

I think above step is easiest way to reproduce the problem. I think we need to find an approach which will fix the problem meanwhile will impact current behavior less.

 

Any other thoughts please let me know.

0 Likes
Message 14 of 19

vex
Collaborator
Collaborator
Although not a solution to your particular problem; I have found that locking the control points of the spline (via the lock or ground command in the sketch constraints) will hold the shape as drawn. I would then go back through and unlock one control point at a time and dimension it accordingly.
0 Likes
Message 15 of 19

cekuhnen
Mentor
Mentor

@LMD001 I never experienced this before but since I am not the only person now there is a serious flaw in the sketch engine.

I really need to be able to trust that what I enter remains the same in other sketches. I will test it more

Claas Kuhnen

Faculty Industrial Design – Wayne State Universit

Chair Interior Design – Wayne State University

Owner studioKuhnen – product : interface : design

0 Likes
Message 16 of 19

jiang_peng
Autodesk
Autodesk

My understanding is blend curve is in fact a connecting spline with G2 continuity, right?

 

CV spline will have G2 and/or G1 continuity with other curves via constraint system.

0 Likes
Message 17 of 19

LMD001
Collaborator
Collaborator

Hello jiang.peng,

 

 

When creating the spline, if you make sure the reference points are present and dimensioned, and you pick these, the splines are created as expected, every time, I tried this for like 30 times, so I'm guessing that it is repeatable.

 

If you pick arbitrary points for the spline and align the points by dimensioning and/or constraining them, the splines will deviate depending on where you have put the initial spline points.

 

So you end up with a different spline, even with the same dimensions.

 

It is as you have stated, it seems that the spline ratio is not recalculated when the spline points are realigned/moved.

 

So for now, probably best to use some dimensioned construction geometry to pick the spline points, and do not use random spline points to align later.

 

Here is a short Screencast: https://screencast.autodesk.com/main/details/717be95a-e575-41fb-822b-7e45ebf355b3

 

 

Hope is of any help.

 

Best regards,

Ludo

 

Message 18 of 19

cekuhnen
Mentor
Mentor

@LMD001 Very good find! I assume that is what resulted in my different arcs.

 

I hope this could be fixed because honestly this is a major pain in the head.

How could one even know this as an end user - this behavior makes no sense.

Claas Kuhnen

Faculty Industrial Design – Wayne State Universit

Chair Interior Design – Wayne State University

Owner studioKuhnen – product : interface : design

0 Likes
Message 19 of 19

brnjon
Enthusiast
Enthusiast

Will this bug be fixed soon?

0 Likes