@havardh what is the “pyproj” referenced in the script:
“from pyproj import transform”
@havardh Nevermind, I’ve got it:
https://pyproj4.github.io/pyproj/stable/index.html
I am still not getting the Python script to import “transform” from “pyproj”, after installing git, adding scripts to the PATH and using Git BASH to install "py -m pip install “git+https://github.com/pyproj4”
Did you follow this guide? Customizing Dynamo's Python 3 installation · DynamoDS/Dynamo Wiki · GitHub
I ended up with running .\Scripts\pip.exe install --target .\Lib\ pyproj
from C:\Users\hoibyh\AppData\Local\python-3.9.12-embed-amd64\Lib
@havardh that is exactly what worked for me, too! Thank you!!
This works great for transforming a point. I have multiple PolyCurves that need to be transformed. My first idea was to go point by point and re-create PolyCurves but for that, I need to expand the Python code to process lists. Is there a way to transform a PolyCurve by its reference (Start) point?
That worked. Thank you!