|
Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: 3D dimension lines plugin |
|
| Print at Dec 17, 2025, 4:30:23 AM | |
| Posted by Daniels118 at Jan 24, 2022, 11:43:17 AM |
|
3D dimension lines plugin This plugin brings to SH3D the capability to draw 3D dimension lines that will snap to floors, walls and ceilings, directly in the 3D view. This could be useful to give precise directives to installers. In order to use this plugin you have to install Pan3dView plugin version 1.7 or later. Please note that this plugin conflicts with the Wirings plugin versions prior to 1.2; if you are using it be sure to update to the latest version. The plugin comes with an integrated user guide available in english and italian under the Help > Draw3D dimension lines help menu, please take a moment to read it to learn how to use the plugin. Features
![]() ![]() Download from here: 3D dimension lines plugin 1) credits to PUYBARET for part of the code. |
| Posted by sjb007 at Jan 24, 2022, 10:32:36 PM |
|
Re: 3D dimension lines plugin It's very cool to be able to do this dimensioning, but I'm struggling a bit. In virtual viewpoint, trying to move a point causes the view to jump around on me. It is like it is resetting to a previously stored position. It also yanks the point you are moving to your new viewpoint, making a mess of the dimension. Something somewhat similar happens in aerial view, but the snap to the previous view happens when releasing the mouse button after moving a point. Nothing important in the log.txt. I can do another mini-video if you want to see the issue better than I'm describing it. |
| Posted by sjb007 at Jan 24, 2022, 10:51:48 PM |
|
Re: 3D dimension lines plugin Another "Huh?!?!" moment. I can't use shift to draw a measurement on the ceiling as described. Nothing appears. If I try to use shift elsewhere (i.e. a wall) the elastic mouse following of the initial line simply doesn't start. I might get a "?" in a diamond at the start point, but no elastic in-motion line until after I release shift. That happens if I can press shift and the mouse button at the same time, but often no line is even started. If I start the line on a wall without shift, then press shift, the in-motion line freezes till I release shift. Again, videos can be recorded on request if I'm not clear, or you can't reproduce. (For anyone else: I've been assisting Daniel find issues in the Pan3DView plugin. I'm being helpful, not a dick, by reporting these.) |
| Posted by Daniels118 at Jan 25, 2022, 12:51:25 AM |
|
Re: 3D dimension lines plugin @sjb007 Thank you for your feedback. About your first post, the problems are clear and I can reproduce them. I've added fixing them to the roadmap. About your second post, here some considerations when drawing on the ceilings:
The "?" symbol is shown when the line is zero length, which in pratice happens just after you have placed the first point, and the cursor hasn't moved away yet. If you hold SHIFT and you haven't a room where the cursor is, moving the mouse doesn't trigger any change and the line length stays zero. Be sure you're respecting the above points, if doing so doesn't resolve the problem maybe I misunderstood it. |
| Posted by Daniels118 at Jan 26, 2022, 9:59:39 AM |
|
Re: 3D dimension lines plugin Version 1.1 released! Summary of changes:
Download DimensionLines3D-1.1.sh3p |
| Posted by Puybaret at Jan 27, 2022, 8:48:27 AM |
|
Re: 3D dimension lines plugin Thanks for this plug-in. I sent you a video showing some other issues when creating horizontal dimension lines. Hope you can find how to fix them. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Daniels118 at Jan 28, 2022, 11:31:56 AM |
|
Re: 3D dimension lines plugin Hi Emmanuel, your last video put me on a long dark road. It was my fault, after I have read the PickTool.pickAllSorted method description I wrongly assumed even PickIntersection.getIntersection would have returned the intersections sorted by distance. The fix won't take too much and will be included in the next release. In the meanwhile you can see what the next release will be able to do: ![]() |
| Posted by Daniels118 at Feb 1, 2022, 2:21:43 AM |
|
Re: 3D dimension lines plugin Hi Emmanuel, I've released the version 3.0 which solves the problem you faced when placing the line close to edges. First of all, I've fixed a bug which was randomly picking the bad face of the clicked wall. Moreover with this version, after you place the first point, all the subsequent points are forced to lay on the same surface the first point belongs to. This way if you place the start point on a wall, even the end point must reside on the same wall, it will never snap to the inner faces of the window or other surfaces. This behavior could sometimes be unwanted, so I've implemented a way to disable it holding the ALT key. Now dimension lines can be drawn on any kind of surface, even on furnitures and - with some trick - even in the air! The system is quite powerful, but explaining in the detail how to use it for each needs would require a small book, the better option is to experiment, or ask me for specific intents. Here some examples of what can be done: ![]() ![]() Moreover there is a new feature that allow to precisely set the line length by clicking on the line while holding the ALT key. If you click on an end point the line wil be strech on the selected side; if you click in the middle the line will be strech on both sides: ![]() Here the summary of changes:
This version requires to update Pan3dView to version 3.0 or later! Download: DimensionLines3D-3.0.sh3p |
| Posted by Daniels118 at Sep 14, 2022, 4:11:11 PM |
|
Re: 3D dimension lines plugin Version 3.1 This version fixes a bug which breaks the rendering. Thanks to hansmex for having reported this bug :) Download the new version from SourceForge or using the Plugin Manager. |
| Posted by Daniels118 at Dec 28, 2022, 12:11:38 PM |
|
Re: 3D dimension lines plugin Version 3.2 It's highly recommended to upgrade to this version because it has important fixes and enhancements.
|
| Posted by Daniels118 at Dec 28, 2022, 4:56:31 PM |
|
Re: 3D dimension lines plugin First video tutorial, showing simple dimension line creation on a wall: https://youtu.be/0Dnyx4aC-HE |
| Posted by Daniels118 at Dec 29, 2022, 2:23:48 PM |
|
Re: 3D dimension lines plugin Second video tutorial: Advanced 3D dimension lines with SweetHome3D It shows how to create dimensions like these ones: ![]() |
| Posted by IvanDiaz at Aug 1, 2023, 9:32:42 PM |
|
Re: 3D dimension lines plugin Good morning Daniels118, I have recently started using plugins and I ran into a couple of problems using your plugin. The first problem has to do when I generate an ordinary measurement in any part of the house, that is, I generate a line that measures 100cm and I double left click to fix the line in place, but the problem arises when I accidentally double left click while near or above the previously generated line. And what happens is that the number zero appears and it no longer generates more measurements, regardless of which part of the house you click on, the number zero will always appear. The second problem appears as a consequence of the first problem, all the objects in the house I can move freely in the 2d plane, but in the 3d plane they appear in the same place as if it were some kind of bug in the system. And one more thing, how do I delete a measurement line? I have only been able to delete a wrong line by clicking the undo button, but I don't know if there is another way to do it. ________________________________________________________ If anyone who manages this forum sees this message, I'm letting you know that you can't log in from Microsoft Edge, with the Chrome browser I had no problem logging in. |
| Posted by Daniels118 at Aug 3, 2023, 5:20:51 PM |
|
Re: 3D dimension lines plugin @IvanDiaz I will try to reproduce the problem. If there is a bug, it is likely that it could break the 3D view until you restart the program. To delete a dimension line from the 3D view you must have the 3D dimension line tool enabled, move the mouse over one of the control points of the dimension line while holding CTRL+SHIFT (the cursor will display a red minus symbol), then just click to remove the line. The control points are the 2 ends of the dashed lines, and the middle of the continuous line. The Help menu has an entry where you can find all modifier keys and use tips. |
| Posted by CoffinBound at Jun 11, 2025, 1:39:12 AM |
|
Re: 3D dimension lines plugin @daniels118 I see that this thread is a little stale, but according to the plug-in help file, this is the correct place to post issues. I installed this plugin with the hopes of adding dimensions to the 3D view of my house drawing. All I have been successful in doing is getting super frustrated. I watched the two videos showing how to use the tool, and yet I still struggle to get a single dimension. I watch a section of the video, pause, try to replicate, and fail every time. The very first click to start the dimension results in nothing happening or another item being selected. I tried using both videos. With the tracing paper and without it. Same result. I have used AutoCAD in a commercial environment for over 25 years, so I was hoping this tool would be easy to use. So far, that isn't the case. I think I saw a post where you told another person that the tool hasn't been tested against the current version of SweetHome 3D. If that is true, are there plans to do this or fix any possible issues? I would be willing to supply my current drawing file for testing if that helps. Regards, |
| Posted by Daniels118 at Jun 11, 2025, 6:58:04 PM |
|
Re: 3D dimension lines plugin @CoffinBound I know there are bugs using the plugin with the latest versions of SweetHome3D. I haven't had the time to fix them, so the only chance is to use the native dimension lines, or downgrade SweetHome3D to a previous version (7.0 should work fine). Keep in mind that native dimension lines can be placed vertically using the edit dialog. |
| Posted by CoffinBound at Jun 11, 2025, 10:06:23 PM |
|
Re: 3D dimension lines plugin @Daniels118 Thanks for the prompt response. I was afraid that was going to be the response. I guess I will just have to try downgrading my software. Here's to hoping time presents itself to allow for the fixing of these issues. I rather like the software, minus its few aggravating processes and shortcomings. But I will chalk most of that up to me being a noob. |
| Posted by Keet at Jun 12, 2025, 7:20:31 AM |
|
Re: 3D dimension lines plugin I rather like the software, minus its few aggravating processes and shortcomings. But I will chalk most of that up to me being a noob. If you let us know what those are (in a new thread) then we can either clarify why certain things work as they do or explain how to solve your other problems.---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 17, 2025, 4:30:23 AM |