build-dxf 0.0.19-3 → 0.0.19-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index2.js +1 -0
- package/src/index3.js +1 -1
package/package.json
CHANGED
package/src/index2.js
CHANGED
|
@@ -464,6 +464,7 @@ class DomContainer extends Component {
|
|
|
464
464
|
html3DRenderer = document.createElement("div");
|
|
465
465
|
constructor() {
|
|
466
466
|
super();
|
|
467
|
+
this.domElement.id = "build-dxf-container";
|
|
467
468
|
this.domElement.appendChild(this.canvas);
|
|
468
469
|
this.domElement.appendChild(this.html3DRenderer);
|
|
469
470
|
this.domElement.appendChild(this.html2DRenderer);
|
package/src/index3.js
CHANGED
|
@@ -777,7 +777,7 @@ class DrawLine extends CommandFlowComponent {
|
|
|
777
777
|
* @param next
|
|
778
778
|
*/
|
|
779
779
|
selectPoint(next) {
|
|
780
|
-
let editor = this.parent?.findComponentByName("Editor"),
|
|
780
|
+
let editor = this.parent?.findComponentByName("Editor"), start = null, end = null, points = [], circle = new THREE.Mesh(new THREE.SphereGeometry(0.05), new THREE.MeshBasicMaterial({ color: 65280 })), dom = editor.domContainer.domElement, line = new Lines([], 16711935), auxiliaryLine = new Lines([
|
|
781
781
|
new THREE.Vector3(-1e4, 0, 0),
|
|
782
782
|
new THREE.Vector3(1e4, 0, 0),
|
|
783
783
|
new THREE.Vector3(0, -1e4, 0),
|