mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 01:12:05 +05:00
Integrate a patch by Paul RASCLE for V3.2.0b1.
This commit is contained in:
parent
155e9c0084
commit
891fcd3d54
@ -142,6 +142,9 @@ assemblageId = addToStudy(assemblage, "assemblage")
|
|||||||
#
|
#
|
||||||
# Display
|
# Display
|
||||||
#
|
#
|
||||||
|
gg = ImportComponentGUI("GEOM")
|
||||||
|
gg.initGeomGen()
|
||||||
|
|
||||||
gg.createAndDisplayGO(baseId)
|
gg.createAndDisplayGO(baseId)
|
||||||
gg.setTransparency(baseId,0.5)
|
gg.setTransparency(baseId,0.5)
|
||||||
gg.setDisplayMode(baseId,1)
|
gg.setDisplayMode(baseId,1)
|
||||||
@ -154,4 +157,3 @@ gg.createAndDisplayGO(weldId)
|
|||||||
gg.setTransparency(weldId,0.5)
|
gg.setTransparency(weldId,0.5)
|
||||||
gg.setDisplayMode(weldId,1)
|
gg.setDisplayMode(weldId,1)
|
||||||
gg.setColor(weldId,0,0,255)
|
gg.setColor(weldId,0,0,255)
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ import GEOM
|
|||||||
|
|
||||||
g = lcc.FindOrLoadComponent("FactoryServer", "GEOM")
|
g = lcc.FindOrLoadComponent("FactoryServer", "GEOM")
|
||||||
geom = g._narrow( GEOM.GEOM_Gen )
|
geom = g._narrow( GEOM.GEOM_Gen )
|
||||||
gg = ImportComponentGUI("GEOM")
|
#gg = ImportComponentGUI("GEOM")
|
||||||
gg.initGeomGen()
|
#gg.initGeomGen()
|
||||||
|
|
||||||
#SRN: modified on Mar 18, 2005
|
#SRN: modified on Mar 18, 2005
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user