Compare commits
No commits in common. "ed281a6ea957ce73723827b5b0d1838603dbfe62" and "c9ea9f47c093374a9abcd5ad9e178056d295ac49" have entirely different histories.
ed281a6ea9
...
c9ea9f47c0
@ -7579,12 +7579,7 @@ export const drawRidgeRoof = (roofId, canvas, textMode) => {
|
|||||||
|
|
||||||
hipBasePoint = { x1: line.x1, y1: line.y1, x2: line.x2, y2: line.y2 }
|
hipBasePoint = { x1: line.x1, y1: line.y1, x2: line.x2, y2: line.y2 }
|
||||||
point = [mergePoint[0].x, mergePoint[0].y, mergePoint[3].x, mergePoint[3].y]
|
point = [mergePoint[0].x, mergePoint[0].y, mergePoint[3].x, mergePoint[3].y]
|
||||||
const theta = Big(Math.acos(Big(line.line.attributes.planeSize).div(
|
const theta = Big(Math.acos(Big(line.line.attributes.planeSize).div(line.line.attributes.actualSize)))
|
||||||
line.line.attributes.actualSize === 0 ||
|
|
||||||
line.line.attributes.actualSize === '' ||
|
|
||||||
line.line.attributes.actualSize === undefined ?
|
|
||||||
line.line.attributes.planeSize : line.line.attributes.actualSize
|
|
||||||
)))
|
|
||||||
.times(180)
|
.times(180)
|
||||||
.div(Math.PI)
|
.div(Math.PI)
|
||||||
.round(1)
|
.round(1)
|
||||||
@ -9228,11 +9223,7 @@ const getSortedPoint = (points, lines) => {
|
|||||||
const reCalculateSize = (line) => {
|
const reCalculateSize = (line) => {
|
||||||
const oldPlaneSize = line.attributes.planeSize
|
const oldPlaneSize = line.attributes.planeSize
|
||||||
const oldActualSize = line.attributes.actualSize
|
const oldActualSize = line.attributes.actualSize
|
||||||
const theta = Big(Math.acos(Big(oldPlaneSize).div(
|
const theta = Big(Math.acos(Big(oldPlaneSize).div(oldActualSize)))
|
||||||
oldActualSize === 0 || oldActualSize === '' || oldActualSize === undefined ?
|
|
||||||
oldPlaneSize :
|
|
||||||
oldActualSize
|
|
||||||
)))
|
|
||||||
.times(180)
|
.times(180)
|
||||||
.div(Math.PI)
|
.div(Math.PI)
|
||||||
const planeSize = calcLinePlaneSize({
|
const planeSize = calcLinePlaneSize({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user