FreeCAD Python
Functions
importWebGL Namespace Reference

Detailed Description

WebGL file format exporter.

This module provides tools to export HTML files containing the exported objects in WebGL format and a simple three.js-based viewer.

Functions

def getObjectData (obj, wireframeMode=wireframeStyle)
 

Function Documentation

◆ getObjectData()

def importWebGL.getObjectData (   obj,
  wireframeMode = wireframeStyle 
)
returns the geometry data of an object as three.js snippet. 
wireframeMode can be multimaterial, faceloop, or None