]> gerrit.simantics Code Review - simantics/3d.git/commit
Revised update logic for inline components 61/3661/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 3 Dec 2019 11:49:36 +0000 (13:49 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 3 Dec 2019 11:53:58 +0000 (11:53 +0000)
commit2c16b9949ab2b8cdbdbff7bbda91eb862b1176ed
treefae5515879027d13cab079719f656291accf1954
parent3f17b6e42935927f12683fc26ecd5808bf66cde6
Revised update logic for inline components

* PipingRules no longer have separate code for path legs with offsets
* Overlapping fixed length components are forced to be separate, as long
as there is available space
* Using more stable calculation for turn component orientations (reusing
path leg direction vector)
* Error messages of overlapping inline components

gitlab #14
gitlab #59

Change-Id: I85e754ffb6dab37ca7b7ae8e5f28842fbf095a11
(cherry picked from commit aca223a1616159645710d7c9ee67ed1a6bd47b99)
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipingRules.java