Comments (4)
Window direction depends on the orientation primary to boolean operation.
To estimate orientation, i do take a point 1 m behind window, and check if he's on left or right part of the wall's side you draw (side showing manipulators).
With perpendicular window at boolean time, they likely to rotate the wrong side (and as long as there is nearly no way to determine inside/outside from say unclosed wall, if you lucky they rotate the right side).
A linear analysis to see witch side is the longest may be part of the solution, but you'll always find edges cases where it fails.
So i must find a better way to determine default rotation.
Also such rule dosen't work with doors as opening direction may vary.
Seem logical to draw external part of the wall, but cant assume it will always be the case, and not enforce any CW or CCW way of drawing to set inside or outside.
Anothe issue is interoperability as some data-models use axis to define a wall.
There are then 2 set of params to handle inside/outside materials and drawing from borders or axis.
- Inside / Outside for material, currently does affect windows and doors holes materials according too,
- Offset from -1 to 1 to allow drawing from either border and axis.
from archipack.
As I'm not a native english speaker, to clarify:
- for closed walls, we agree the solution can be automatic?
- for other wall, user can define the inside/outside with the flip option. It could be used to rotate windows and such according to this? For cases where both direction make sens, they could also get a flip option.
from archipack.
At draw a wall time, and when closing a wall,
we may assume wich part is the inside and set flip when relevant.
At manipulate time, and boolean use the flip param to determine witch side is inside/outside and orient window according.
from archipack.
Fixed :
Window auto align to outside at boolean time, and when flip does change.
Full support for x_offset added too.
from archipack.
Related Issues (20)
- Blender 4.0 / Archipack Pro / Mac HOT 5
- cant activate HOT 1
- Mac Blender Archipakc - error Traceback HOT 13
- TypeError: GPUShader.uniform_float() argument 1 must be str, not int HOT 1
- ModuleNotFoundError: No module named 'lxml.builder' HOT 1
- Errors archipack 1.3.8 community edition not compatible with blender 4.0 HOT 2
- Traceback error in Blender 4.0.2 on Windows 11 (archpack_2.0.9) HOT 4
- Python error colorspace "Raw" not found HOT 1
- Fontsize too small HOT 1
- Issue installing Archipack 1.38 on Blender 3.1.2 HOT 1
- Archpack Installation error HOT 1
- Convert walls not working HOT 1
- Archipack Pro Error on Enabling (Blender 4.0 / Windows) HOT 1
- installation fails with blender 4.1 HOT 2
- onstallation fails with blender 4.0 HOT 1
- error when activating add-on macOS HOT 1
- Pease Help me Fix this Issue as soon as posible HOT 1
- Wrong Boolean assignment with floors and assemblies HOT 3
- Can't Install Blender 4.1.1 HOT 4
- activation impossible archipack pro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archipack.