|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: adding skirting around rooms » » » » Post: Re: adding skirting around rooms |
Print at Dec 20, 2025, 1:14:21 AM |
| Posted by Puybaret at Jan 23, 2014, 4:23:06 PM |
|
Re: adding skirting around rooms rkv104, I had a quick look at your code. I think you wrongly place skirts, because HomePieceOfFurniture objects coordinates should indicate the center of the object, not one of its corners. By the way, may I recall you that the length between two points can be easily computed with Point2D distance method and the angle of a line with Math atan2 method? That would make your plugin much more useful! If you want to take into account doors placed in walls, you should inspire yourself from Wall3D createWallGeometries that computes this data too. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 20, 2025, 1:14:21 AM |