mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-15 18:13:08 +05:00
Mantis issue 0021392: EDF 1631 GEOM: Dump study of sketcher 3D with relatives coordinates.
This commit is contained in:
parent
89c42a4f37
commit
41d1a2c611
@ -8870,7 +8870,6 @@ class Sketcher3D:
|
|||||||
for cc in listCoords:
|
for cc in listCoords:
|
||||||
if ii == 1:
|
if ii == 1:
|
||||||
self.myCommand = self.myCommand + ":TT"
|
self.myCommand = self.myCommand + ":TT"
|
||||||
#self.myCommand = self.myCommand + " %.7f"%cc
|
|
||||||
self.myCommand = self.myCommand + " %s"%printVar(cc)
|
self.myCommand = self.myCommand + " %s"%printVar(cc)
|
||||||
if ii == 3:
|
if ii == 3:
|
||||||
ii = 1
|
ii = 1
|
||||||
@ -8883,7 +8882,6 @@ class Sketcher3D:
|
|||||||
for cc in listCoords:
|
for cc in listCoords:
|
||||||
if ii == 1:
|
if ii == 1:
|
||||||
self.myCommand = self.myCommand + ":T"
|
self.myCommand = self.myCommand + ":T"
|
||||||
#self.myCommand = self.myCommand + " %.7f"%cc
|
|
||||||
self.myCommand = self.myCommand + " %s"%printVar(cc)
|
self.myCommand = self.myCommand + " %s"%printVar(cc)
|
||||||
if ii == 3:
|
if ii == 3:
|
||||||
ii = 1
|
ii = 1
|
||||||
@ -8893,7 +8891,6 @@ class Sketcher3D:
|
|||||||
|
|
||||||
## axes can be: "OXY", "OYZ" or "OXZ"
|
## axes can be: "OXY", "OYZ" or "OXZ"
|
||||||
def addPointAnglesLength (self, axes, angle1, angle2, length):
|
def addPointAnglesLength (self, axes, angle1, angle2, length):
|
||||||
#self.myCommand = self.myCommand + ":%s %.7f %.7f %.7f" % (axes, angle1, angle2, length)
|
|
||||||
self.myCommand = self.myCommand + ":%s %s %s %s" % (axes, printVar(angle1), printVar(angle2), printVar(length))
|
self.myCommand = self.myCommand + ":%s %s %s %s" % (axes, printVar(angle1), printVar(angle2), printVar(length))
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -8903,9 +8900,7 @@ class Sketcher3D:
|
|||||||
|
|
||||||
## Obtain the sketcher result
|
## Obtain the sketcher result
|
||||||
def wire (self):
|
def wire (self):
|
||||||
print "myCommand =", self.myCommand
|
|
||||||
Command,Parameters = ParseSketcherCommand(self.myCommand)
|
Command,Parameters = ParseSketcherCommand(self.myCommand)
|
||||||
print "Command =", Command
|
|
||||||
wire = self.geompyD.CurvesOp.Make3DSketcherCommand(Command)
|
wire = self.geompyD.CurvesOp.Make3DSketcherCommand(Command)
|
||||||
self.myCommand = "3DSketcher"
|
self.myCommand = "3DSketcher"
|
||||||
RaiseIfFailed("Sketcher3D", self.geompyD.CurvesOp)
|
RaiseIfFailed("Sketcher3D", self.geompyD.CurvesOp)
|
||||||
|
Loading…
Reference in New Issue
Block a user