Everything related to Studio.
By d76
#380728
Hello
here are the results of simple script, both directly rendered and opened in studio. in both 2.7 and 3.0 instance in Studio is transformed differently than expected, see screenshots. Also when scene is saved from Studio, the bad transformation will occur in render as well..

2.7
Image
Image

3.0
Image
Image
Code: Select all
#!/Library/Frameworks/Python.framework/Versions/3.2/bin/python3
# -*- coding: utf-8 -*-

from pymaxwell import *

scene = Cmaxwell(mwcallback)
scene.readMXS("Cube.mxs")
c = scene.getObject("Cube")

o = scene.createInstancement("Cube2", c)
b, p = c.getBaseAndPivot()
b.xAxis = Cvector(b.xAxis.x() * -1.0, b.xAxis.y(), b.xAxis.z())
b.origin = Cvector(b.origin.x() , b.origin.y() + 2, b.origin.z())
o.setBaseAndPivot(b, p)

scene.writeMXS("Cube2.mxs")

Hello everybody, We have just released a new vers[…]

Help with swimming pool water

Nothing beats observing the real world or, if that[…]

Sketchup 2026 Released

Considering how long a version for Sketchup 2025 t[…]

Greetings, One of my users with Sketchup 2025 (25[…]