mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-08 09:24:18 +01:00
Non working hole location from datium
This commit is contained in:
parent
24ab2aaf18
commit
0a0ff3a8ae
2 changed files with 4 additions and 4 deletions
|
|
@ -60,7 +60,7 @@ export const HoleOperation: OperationDescriptor<HoleParams> = {
|
|||
oci.pcylinder("counterbore", params.counterBoreDiameter / 2, params.counterBoreDepth);
|
||||
|
||||
oci.bop("result", "counterbore");
|
||||
oci.bopfuse("result");
|
||||
oci.bopfuse("result");
|
||||
}
|
||||
|
||||
if (params.holeType == "countersink") {
|
||||
|
|
@ -73,9 +73,9 @@ export const HoleOperation: OperationDescriptor<HoleParams> = {
|
|||
oci.bopfuse("result");
|
||||
}
|
||||
|
||||
let ptr = Interrogate("base", true).ptr;
|
||||
let ptr = Interrogate("result", true).ptr;
|
||||
SetLocation(ptr, params.datum.csys.outTransformation.toFlatArray());
|
||||
|
||||
returnObject.created.push(occ.io.getShell("result"));
|
||||
console.log(returnObject);
|
||||
|
||||
return returnObject;
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
"earcut": "2.1.1",
|
||||
"font-awesome": "4.7.0",
|
||||
"immer": "^9.0.12",
|
||||
"jsketcher-occ-engine": "1.0.1-2144340d03c052dc3c4bfab1c045ee28a6ba1528",
|
||||
"jsketcher-occ-engine": "1.0.1-0cd4fdc77e9c85bbbe6951d90646bd3361ab6797",
|
||||
"jszip": "^3.10.0",
|
||||
"less": "^3.11.1",
|
||||
"libtess": "1.2.2",
|
||||
|
|
|
|||
Loading…
Reference in a new issue