Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Arch: Fixed tab indents im importOBJ
- Loading branch information
1 parent
f66023a
commit 04f8758
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,14 +73,14 @@ def getIndices(obj,shape,offsetv,offsetvn): | |
try: | ||
if not isinstance(e.Curve,Part.LineSegment): | ||
if not curves: | ||
myshape = obj.Shape.copy(False) | ||
myshape.Placement=obj.getGlobalPlacement() | ||
myshape = obj.Shape.copy(False) | ||
myshape.Placement=obj.getGlobalPlacement() | ||
mesh=MeshPart.meshFromShape(Shape=myshape, LinearDeflection=0.1, AngularDeflection=0.7, Relative=True) | ||
This comment has been minimized.
Sorry, something went wrong. |
||
FreeCAD.Console.PrintWarning(translate("Arch","Found a shape containing curves, triangulating")+"\n") | ||
break | ||
except: # unimplemented curve type | ||
myshape = obj.Shape.copy(False) | ||
myshape.Placement=obj.getGlobalPlacement() | ||
myshape = obj.Shape.copy(False) | ||
myshape.Placement=obj.getGlobalPlacement() | ||
mesh=MeshPart.meshFromShape(Shape=myshape, LinearDeflection=0.1, AngularDeflection=0.7, Relative=True) | ||
FreeCAD.Console.PrintWarning(translate("Arch","Found a shape containing curves, triangulating")+"\n") | ||
break | ||
This comment has been minimized.
Sorry, something went wrong.
vocx-fc
Contributor
|
||
|
@yorikvanhavre actually, I think the
myshape = obj
, should be aligned to themesh=MeshPart
Like this
Otherwise the instructions don't make much sense.