-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bug when instantiating geomtry
- Loading branch information
1 parent
e4e49f2
commit 14498db
Showing
2 changed files
with
232 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,16 +92,11 @@ | |
model.ifcAPI.SetWasmPath("https://unpkg.com/[email protected]/", true); | ||
await model.init(); | ||
|
||
const curtainWallType = new CLAY.SimpleCurtainWallType(model); | ||
|
||
// curtainWallType.height = 5; | ||
|
||
// curtainWallType.numberOfColumns = 3; | ||
// curtainWallType.numberOfRows = 3; | ||
|
||
const curtainWallType = new CLAY.SimpleCurtainWallType(model, 5, 5); | ||
|
||
curtainWallType.height = 5 | ||
curtainWallType.startPoint.x = -10; | ||
curtainWallType.startPoint.y = 0; | ||
|
||
curtainWallType.endPoint.x = 0; | ||
curtainWallType.endPoint.y = 10; | ||
|
||
|
@@ -113,8 +108,6 @@ | |
|
||
const gui = new dat.GUI(); | ||
|
||
|
||
|
||
gui | ||
.add(curtainWallType.startPoint, "x") | ||
.name("Start X") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters