latentspace.

rhino3dm


  • rhino3dm created by McNeel

  • Testing legal_geom, floors_geom, core_geom, parking_geom of the below result from Landbook engine
    • rhino3dm

  • Code
  • 
        model = File3dm()
    
        plot_geom = wkt.loads(result_bldg["plot_geom"])
        plot_geom_points = [Point3d(x, y, 0) for x, y in plot_geom.boundary.coords]
        plot_geom_curve = Curve.CreateControlPointCurve(plot_geom_points, degree=1)
        plot_geom_extrusion = Extrusion.Create(plot_geom_curve, -2, True)
        model.Objects.AddExtrusion(plot_geom_extrusion)
    
        model.Write("zzz.3dm", 6)  # file name, rhino version