Magnetism not working for door model

This topic has been viewed 3259 times and has 4 replies
Thread status: Active
Looking for a particular 3D model or texture? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
johntc
Posts: 13
Joined: Mon Nov 20, 2023 5:41 pm
Country: United Kingdom

Magnetism not working for door model

Post by johntc »

Hi. Hoping someone can help with a minor problem I have. I've created a custom front door model in Blender and nominally everything works fine, the door renders correctly and hinges all work, however even though I have 'door or window' set when importing, and the model will create the correct cut out in the wall, I can only position it if magnetism is turned off ? Otherwise it will not penetrate the wall. I assume this is an additional setting in the PluginFurnitureCatalog.properties file? I'd rather not go messing with that without knowing what variables need to be added/changed first. On this note, is there a definitive list somewhere on the variables available to furniture objects in this file, I don't seem to be able to find one ?

Thanks for reading and any help would be appreciated.

johntc
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Magnetism not working for door model

Post by Puybaret »

A 3D model imported as a door or window will always create the hole in the wall where you'll place it, whether magnetism is on or off. Magnetism forces such an object to be aligned with the wall where you place it and change its depth to make it equal to the thickness of the wall.
See this thread if you want to represent door angle in the plan or take into account handles for example (prefer use the version 2.0 of the Furniture Library Editor to set door properties).
Emmanuel Puybaret, Sweet Home 3D creator
johntc
Posts: 13
Joined: Mon Nov 20, 2023 5:41 pm
Country: United Kingdom

Re: Magnetism not working for door model

Post by johntc »

Thanks for your reply the thread outlining the door properties especially the diagram were very useful! As with most things the solution turned out to be very mundane I had width and depth swapped when I imported the model into the furniture library editor !

A quick follow up question are there additional parameters for a double sash ?

Thanks

johntc
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Magnetism not working for door model

Post by Puybaret »

Great you could find your issue.
are there additional parameters for a double sash ?
Just cite two values in sash properties ([font=courier new]doorOrWindowSashXAxis[/font], [font=courier new]doorOrWindowSashYAxis[/font], [font=courier new]doorOrWindowSashWidth[/font], [font=courier new]doorOrWindowSashStartAngle[/font], [font=courier new]doorOrWindowSashEndAngle[/font]) and separate the values with a space.
There are examples in the default library here.
Emmanuel Puybaret, Sweet Home 3D creator
johntc
Posts: 13
Joined: Mon Nov 20, 2023 5:41 pm
Country: United Kingdom

Re: Magnetism not working for door model

Post by johntc »

Thanks for that :)
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest