The result of squish is not right


#1

1.3dm (1.2 MB) the attachment has a 3dm file with two breps I want unroll using squish command,one brep can get right result but another can’t get right result


(Pascal Golay) #2

Hi Niceday- This looks like a bug to me- try ShrinkTrimmedSrf on these before squishing.

http://mcneel.myjetbrains.com/youtrack/issue/RH-28749

-Pascal


#3

ShrinkTrimmedSrf on these before squishing can get right result.
but when i using rhinoapp().runscritpt to do these two command also can’t get the right result


#4

please help me to see why these diffrent happen


(Kelvin Cheng) #5

Is this a question for @dale?


#6

squish.rar (319.9 KB) attachment have the test codes and 3dm file


(Kelvin Cheng) #7

Hi @pascal,

DaleF is out of office till Sept 23, do you know someone who can help with the code?

Thanks


(Pascal Golay) #8

Hi Kelvin- I posted the bug (above) to Dale Lear’s pile- he’s in charge of Squish.

-Pascal


(Kelvin Cheng) #9

The last model in your file has two polysurfaces. Is this the problem?


#10

yes,this is the problem,but i want unroll the whole On_brep ,how can I do


(Kelvin Cheng) #11

That’s not currently possible. Why your code creates the two narrow surfaces at the back of the last model? If you can solve this problem, it won’t be a problem with squish.


#12

This test brep maybe can solve the problem to make the it just one face,but I have many other breps,and they are have many surfaces too,so I still need a function to unroll this kind of brep