Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5865

Size of Face wrong when importing STEP-File

$
0
0

I wrote a Python-Script that lets me select an objects face an than morphes a given structure onto that face, so that there is no overlap over the edges.

Visual example of how it should work:

  1. Box created and exploded in Rhino
    block1

  2. Parameter space of selected face
    morp_dim1

  3. Result of the described script running
    structure1

And now the problem:
If I export the box from 1. as an .stp file and import it afterwards to use the exact same script on the same face of the box, the result is as follows:

structure2

Parameter space of face from the imported box:
morp_dim2

The parameter space of the imported box seems to be wrong, so that the morphing overlaps at the edges of the face.

Do You have any Idea what causes this behaviour and how I may fix it? The problem also occurs with .stp files I created in Fusion 360, the morphed structures always overlap at the edges.

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5865

Trending Articles