diff --git a/README.md b/README.md
index e29f350..0a57e51 100644
--- a/README.md
+++ b/README.md
@@ -14,10 +14,10 @@ not conflict with other ChiliPeppr widgets.
| ID | com-chilipeppr-widget-3dviewer |
| Name | Widget / 3D GCode Viewer |
| Description | Visualize your GCode in 3D by simulating your GCode run or seeing where your run is at in 3D while your CNC operation is in action. |
-| chilipeppr.load() URL | http://raw.githubusercontent.com/chilipeppr/widget-3dviewer/master/auto-generated-widget.html |
-| Edit URL | http://ide.c9.io/chilipeppr/widget-3dviewer |
-| Github URL | http://github.com/chilipeppr/widget-3dviewer |
-| Test URL | https://preview.c9users.io/chilipeppr/widget-3dviewer/widget.html |
+| chilipeppr.load() URL | http://raw.githubusercontent.com/dchote/widget-3dviewer/master/auto-generated-widget.html |
+| Edit URL | http://ide.c9.io/undefined/undefined |
+| Github URL | http://github.com/dchote/widget-3dviewer |
+| Test URL | https://preview.c9users.io/undefined/undefined/widget.html |
## Example Code for chilipeppr.load() Statement
@@ -33,7 +33,7 @@ $("body").append('<' + 'div id="myDivWidget3dviewer"><' + '/div>');
chilipeppr.load(
"#myDivWidget3dviewer",
- "http://raw.githubusercontent.com/chilipeppr/widget-3dviewer/master/auto-generated-widget.html",
+ "http://raw.githubusercontent.com/dchote/widget-3dviewer/master/auto-generated-widget.html",
function() {
// Callback after widget loaded into #myDivWidget3dviewer
// Now use require.js to get reference to instantiated widget
@@ -132,9 +132,9 @@ The table below shows, in order, the methods and properties inside the widget/el
- id | string | "com-chilipeppr-widget-3dviewer" |
name | string | "Widget / 3D GCode Viewer" |
desc | string | "Visualize your GCode in 3D by simulating your GCode run or seeing where your run is at in 3D while your CNC operation is in action." |
url | string | "http://raw.githubusercontent.com/chilipeppr/widget-3dviewer/master/auto-generated-widget.html" |
fiddleurl | string | "http://ide.c9.io/chilipeppr/widget-3dviewer" |
githuburl | string | "http://github.com/chilipeppr/widget-3dviewer" |
testurl | string | "http://widget-3dviewer-chilipeppr.c9users.io/widget.html" |
publish | object | Please see docs above. |
subscribe | object | Please see docs above. |
foreignSubscribe | object | Please see docs above. |
foreignPublish | object | Please see docs above. |
scene | object | |
object | object | |
camera | object | |
controls | object | |
toolhead | object | |
tween | object | |
tweenHighlight | object | |
tweenIndex | object | |
tweenSpeed | number | |
tweenPaused | boolean | |
tweenIsPlaying | boolean | |
wantAnimate | boolean | |
initOptions | object | |
init | function | function (initOptions) |
setupScenePubSub | function | function () |
onSignalSceneReloadedFailAttempts | number | |
onSignalSceneReloaded | function | function () |
isInspectSelect | boolean | |
initInspect | function | function () |
setupInspect | function | function (evt) |
unsetupInspect | function | function () |
toggleInspect | function | function (evt) |
inspectKeyDown | function | function (evt) |
inspectKeyUp | function | function (evt) |
inspectMouseClick | function | function (evt) |
onInspectGoto | function | function (evt) |
inspectArrowGrp | object | |
createInspectArrow | function | function () |
inspectCurPos | object | |
inspectLastObj | object | |
inspectLastDecorateGroup | object | |
inspectDlgEl | object | |
inspectMouseMove | function | function (evt) |
createGlow | function | function (threeObj) |
createGlowCubeCaps | function | function (threeObj) |
isJogBtnAttached | boolean | |
isJogSelect | boolean | |
initJog | function | function () |
setupJog | function | function (evt) |
unsetupJog | function | function () |
toggleJog | function | function (evt) |
jogKeyDown | function | function (evt) |
jogKeyUp | function | function (evt) |
arrowHelper | object | |
jogPlane | object | |
isJogRaycaster | boolean | |
jogArrow | object | |
jogArrowCyl | object | |
jogArrowLine | object | |
jogArrowShadow | object | |
unsetupJogRaycaster | function | function () |
setupJogRaycaster | function | function () |
jogMouseClick | function | function (evt) |
jogCurPos | object | |
jogMouseMove | function | function (evt) |
showShadow | boolean | |
setupCogMenu | function | function () |
onToggleShadowClick | function | function (evt, param) |
setupFpsMenu | function | function () |
onFpsClick | function | function (evt, param) |
gridSize | number | |
setupGridSizeMenu | function | function () |
onGridSizeClick | function | function (evt, param) |
setUnits | function | function (units) |
requestUnits | function | function () |
onUnitsChanged | function | function () |
request3dObject | function | function () |
sceneAdd | function | function (obj) |
sceneRemove | function | function (obj) |
sceneClear | function | function () |
btnSetup | function | function () |
forkSetup | function | function () |
onPubSubFileLoaded | function | function (txt) |
error | function | function (msg) |
loadFile | function | function (path, callback /* function(contents) */ ) |
setDetails | function | function (txt) |
speedUp | function | function () |
openGCodeFromPath | function | function (path) |
openGCodeFromText | function | function (gcode) |
lookAtCenter | function | function () |
isLookAtToolHeadMode | boolean | |
lookAtToolHead | function | function () |
toCameraCoords | function | function (position) |
scaleInView | function | function () |
viewExtents | function | function () |
stopSampleRun | function | function (evt) |
pauseSampleRun | function | function () |
gotoXyz | function | function (data) |
gotoLine | function | function (data) |
playNextTween | function | function (isGotoLine) |
zheighttest | number | |
playSampleRun | function | function (evt) |
makeText | function | function (vals) |
decorate | object | |
decorateExtents | function | function () |
convertMinsToPrettyDuration | function | function (mins) |
makeSprite | function | function (scene, rendererType, vals) |
element | object | |
isUnitsMm | boolean | |
getInchesFromMm | function | function (mm) |
getUnitVal | function | function (val) |
drawAxesToolAndExtents | function | function () |
shadowplane | object | |
drawToolhead | function | function () |
grid | object | |
gridTurnOff | function | function () |
gridTurnOn | function | function () |
drawGrid | function | function () |
drawExtentsLabels | function | function () |
axes | object | |
drawAxes | function | function () |
colorBackground | number | |
createScene | function | function (element) |
resize | function | function () |
mytimeout | object | |
renderFrameCtr | number | |
fpsCounterInterval | object | |
fpsEl | object | |
fpsCounterStart | function | function () |
fpsCounterOnInterval | function | function () |
fpsCounterEnd | function | function () |
setFrameRate | function | function (rate) |
animEnable | boolean | |
animateDisabled | function | function () |
animateEnabled | function | function () |
frameRateDelayMs | number | |
animate | function | function () |
wakeAnimate | function | function (evt) |
sleepAnimate | function | function () |
cancelSleep | function | function () |
isNoSleepMode | boolean | |
animNoSleep | function | function () |
animAllowSleep | function | function () |
GCodeParser | function | function (handlers)
Parses a string of gcode instructions, and invokes handlers for
+ |
id | string | "com-chilipeppr-widget-3dviewer" |
name | string | "Widget / 3D GCode Viewer" |
desc | string | "Visualize your GCode in 3D by simulating your GCode run or seeing where your run is at in 3D while your CNC operation is in action." |
url | string | "http://raw.githubusercontent.com/dchote/widget-3dviewer/master/auto-generated-widget.html" |
fiddleurl | string | "http://ide.c9.io/undefined/undefined" |
githuburl | string | "http://github.com/dchote/widget-3dviewer" |
testurl | string | "http://undefined-undefined.c9users.io/widget.html" |
publish | object | Please see docs above. |
subscribe | object | Please see docs above. |
foreignSubscribe | object | Please see docs above. |
foreignPublish | object | Please see docs above. |
initOptions | object | |
onSignalSceneReloadedFailAttempts | number | |
domElement | object | |
scene | object | |
object | object | |
camera | object | |
controls | object | |
toolhead | object | |
decorate | object | |
shadowplane | object | |
grid | object | |
axes | object | |
element | object | |
parsedLines | object | |
lineObjects | object | |
sceneCenter | object | |
sceneBoundaries | object | |
isUnitsMm | boolean | |
animationLatencyTimer | object | |
animationLatencyDelay | number | |
animationLatencyDelayDefault | number | |
inspectLatencyTimer | object | |
inspectLatencyDelay | number | |
jogLatencyTimer | object | |
jogLatencyDelay | number | |
moveAnimate | boolean | |
gotoAnimate | boolean | |
tweenAnimate | boolean | |
inspectAnimate | boolean | |
fpsCalculationTimer | object | |
renderFrameCount | number | |
tween | object | |
tweenHighlight | object | |
tweenIndex | object | |
tweenSpeed | number | |
tweenPaused | boolean | |
tweenIsPlaying | boolean | |
zheighttest | number | |
textFont | boolean | |
isInspectSelect | boolean | |
inspectArrowGrp | object | |
inspectCurPos | object | |
inspectLastObj | object | |
inspectLastDecorateGroup | object | |
inspectDlgEl | object | |
isJogBtnAttached | boolean | |
isJogSelect | boolean | |
arrowHelper | object | |
jogPlane | object | |
isJogRaycaster | boolean | |
jogArrow | object | |
jogArrowCyl | object | |
jogArrowLine | object | |
jogArrowShadow | object | |
jogCurPos | object | |
colorBackground | number | |
colorG0 | number | |
colorG1 | number | |
colorG2 | number | |
colorArc | number | |
colorActive | number | |
colorCompleted | number | |
colorGhosted | number | |
lineWidth | number | |
disableAnimation | boolean | |
disableAA | boolean | |
showShadow | boolean | |
gridSize | number | |
isLookAtToolHeadMode | boolean | |
init | function | function (initOptions) |
setupScenePubSub | function | function () |
onSignalSceneReloaded | function | function () |
initInspect | function | function () |
setupInspect | function | function (evt) |
unsetupInspect | function | function () |
toggleInspect | function | function (evt) |
inspectKeyDown | function | function (evt) |
inspectKeyUp | function | function (evt) |
inspectMouseClick | function | function (evt) |
onInspectGoto | function | function (evt) |
createInspectArrow | function | function () |
inspectMouseMove | function | function (evt) |
createGlow | function | function (threeObj) |
createGlowCubeCaps | function | function (threeObj) |
initJog | function | function () |
setupJog | function | function (evt) |
unsetupJog | function | function () |
toggleJog | function | function (evt) |
jogKeyDown | function | function (evt) |
jogKeyUp | function | function (evt) |
unsetupJogRaycaster | function | function () |
setupJogRaycaster | function | function () |
jogMouseClick | function | function (evt) |
jogMouseMove | function | function (evt) |
setupCogMenu | function | function () |
setCogMenuState | function | function () |
onToggleAAClick | function | function (evt, param) |
onToggleShadowClick | function | function (evt, param) |
onToggleAnimationClick | function | function (evt, param) |
setupGridSizeMenu | function | function () |
onGridSizeClick | function | function (evt, param) |
setUnits | function | function (units) |
requestUnits | function | function () |
onUnitsChanged | function | function () |
request3dObject | function | function () |
sceneAdd | function | function (obj) |
sceneRemove | function | function (obj) |
sceneClear | function | function () |
btnSetup | function | function () |
forkSetup | function | function () |
onPubSubFileLoaded | function | function (txt) |
error | function | function (msg) |
loadFile | function | function (path, callback /* function(contents) */ ) |
setDetails | function | function (txt) |
speedUp | function | function () |
openGCodeFromPath | function | function (path) |
openGCodeFromText | function | function (gcode) |
lookAtCenter | function | function () |
lookAtToolHead | function | function () |
toCameraCoords | function | function (position) |
scaleInView | function | function () |
viewExtents | function | function () |
stopSampleRun | function | function (evt) |
pauseSampleRun | function | function () |
gotoXyz | function | function (data) |
gotoLine | function | function (data) |
playNextTween | function | function (isGotoLine) |
playSampleRun | function | function (evt) |
downloadFont | function | function () |
makeText | function | function (vals) |
decorateExtents | function | function () |
convertMinsToPrettyDuration | function | function (mins) |
makeSprite | function | function (scene, rendererType, vals) |
getInchesFromMm | function | function (mm) |
getUnitVal | function | function (val) |
drawAxesToolAndExtents | function | function () |
drawToolhead | function | function () |
gridTurnOff | function | function () |
gridTurnOn | function | function () |
drawGrid | function | function () |
drawExtentsLabels | function | function () |
drawAxes | function | function () |
createScene | function | function (element) |
resize | function | function () |
wakeAnimate | function | function () |
animate | function | function () |
GCodeParser | function | function (handlers, modecmdhandlers)
Parses a string of gcode instructions, and invokes handlers for
each type of command.
Special handler:
-'default': Called if no other handler matches. |
colorG0 | number | |
colorG1 | number | |
colorG2 | number | |
createObjectFromGCode | function | function (gcode, indxMax) |
convertLineGeometryToBufferGeometry | function | function (lineGeometry, color) |
+'default': Called if no other handler matches.createObjectFromGCode | function | function (gcode, indxMax) |
convertLineGeometryToBufferGeometry | function | function (lineGeometry, color) |
diff --git a/auto-generated-widget.html b/auto-generated-widget.html
index 8788638..f14b873 100644
--- a/auto-generated-widget.html
+++ b/auto-generated-widget.html
@@ -10,11 +10,15 @@