discuss@lists.openscad.org

OpenSCAD general discussion

View all threads

Using OpenSCAD for 2D Floor Plans

LM
Leonard Martin Struttmann
Sat, Oct 9, 2021 10:46 PM

Good day! Has anyone here tried to use OpenSCAD for doing home floor plans?

Background: I'm re-doing my home's circuit-breaker map which shows the
home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected to.
My original map was done in Sketchup which, for various reasons, I am
moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem to
be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be able to
specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the
specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design elements
(walls, cabinets, symbols for switches, outlets, etc) and linear extrude
them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or
suggestions?

Thanks!  Len

Good day! Has anyone here tried to use OpenSCAD for doing home floor plans? Background: I'm re-doing my home's circuit-breaker map which shows the home's room layout and locations of all of the outlets, lights, and switches, with labels to show which circuit breaker each is connected to. My original map was done in Sketchup which, for various reasons, I am moving away from. I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem to be overkill for this project, to the point of being overwhelming. My intent is to make this completely table driven. i'd like to be able to specify a parameter, e.g., module firstFloor(circuitBreakerNumber)... ...so that the floor plan and only those components connected to the specified circuit break are shown. My first thoughts were to create 2D polygons for all of the design elements (walls, cabinets, symbols for switches, outlets, etc) and linear extrude them a minimal amount, always viewing from the Top. So, has anyone done anything like this? Any hints, pointers, or suggestions? Thanks! Len
AM
Adrian Mariano
Sat, Oct 9, 2021 10:52 PM

If it's a 2d model why wouldn't you make 2d polygons for your design
elements and just leave them 2d?  Why do you want to extrude them if
you're always going to view from the top?

On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor plans?

Background: I'm re-doing my home's circuit-breaker map which shows the home's room layout and locations of all of the outlets, lights, and switches, with labels to show which circuit breaker each is connected to.  My original map was done in Sketchup which, for various reasons, I am moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem to be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be able to specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design elements (walls, cabinets, symbols for switches, outlets, etc) and linear extrude them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or suggestions?

Thanks!  Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

If it's a 2d model why wouldn't you make 2d polygons for your design elements and just leave them 2d? Why do you want to extrude them if you're always going to view from the top? On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann <lenstruttmann@gmail.com> wrote: > > Good day! Has anyone here tried to use OpenSCAD for doing home floor plans? > > Background: I'm re-doing my home's circuit-breaker map which shows the home's room layout and locations of all of the outlets, lights, and switches, with labels to show which circuit breaker each is connected to. My original map was done in Sketchup which, for various reasons, I am moving away from. > > I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem to be overkill for this project, to the point of being overwhelming. > > My intent is to make this completely table driven. i'd like to be able to specify a parameter, e.g., > > module firstFloor(circuitBreakerNumber)... > > ...so that the floor plan and only those components connected to the specified circuit break are shown. > > My first thoughts were to create 2D polygons for all of the design elements (walls, cabinets, symbols for switches, outlets, etc) and linear extrude them a minimal amount, always viewing from the Top. > > So, has anyone done anything like this? Any hints, pointers, or suggestions? > > Thanks! Len > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
AC
A. Craig West
Sat, Oct 9, 2021 11:15 PM

I do wish openscad wasn't so focused on 3d printing. It would be a
brilliant tool for generating svgs for laser cutting, as well as things
like floor plans

On Sat, 9 Oct 2021, 18:53 Adrian Mariano, avm4@cornell.edu wrote:

If it's a 2d model why wouldn't you make 2d polygons for your design
elements and just leave them 2d?  Why do you want to extrude them if
you're always going to view from the top?

On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor

plans?

Background: I'm re-doing my home's circuit-breaker map which shows the

home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected to.
My original map was done in Sketchup which, for various reasons, I am
moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem

to be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be able

to specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the

specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design

elements (walls, cabinets, symbols for switches, outlets, etc) and linear
extrude them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or

suggestions?

Thanks!  Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I do wish openscad wasn't so focused on 3d printing. It would be a brilliant tool for generating svgs for laser cutting, as well as things like floor plans On Sat, 9 Oct 2021, 18:53 Adrian Mariano, <avm4@cornell.edu> wrote: > If it's a 2d model why wouldn't you make 2d polygons for your design > elements and just leave them 2d? Why do you want to extrude them if > you're always going to view from the top? > > On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann > <lenstruttmann@gmail.com> wrote: > > > > Good day! Has anyone here tried to use OpenSCAD for doing home floor > plans? > > > > Background: I'm re-doing my home's circuit-breaker map which shows the > home's room layout and locations of all of the outlets, lights, and > switches, with labels to show which circuit breaker each is connected to. > My original map was done in Sketchup which, for various reasons, I am > moving away from. > > > > I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem > to be overkill for this project, to the point of being overwhelming. > > > > My intent is to make this completely table driven. i'd like to be able > to specify a parameter, e.g., > > > > module firstFloor(circuitBreakerNumber)... > > > > ...so that the floor plan and only those components connected to the > specified circuit break are shown. > > > > My first thoughts were to create 2D polygons for all of the design > elements (walls, cabinets, symbols for switches, outlets, etc) and linear > extrude them a minimal amount, always viewing from the Top. > > > > So, has anyone done anything like this? Any hints, pointers, or > suggestions? > > > > Thanks! Len > > > > > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
LM
Leonard Martin Struttmann
Sat, Oct 9, 2021 11:45 PM

Adrian Mariano, I wasn't sure that things like hull() would work on 2D
polygons.  Apparently, hull() does work. So, yes, I'll stick with 2D unless
something weird comes up.

On Sat, Oct 9, 2021 at 6:15 PM A. Craig West acraigwest@gmail.com wrote:

I do wish openscad wasn't so focused on 3d printing. It would be a
brilliant tool for generating svgs for laser cutting, as well as things
like floor plans

On Sat, 9 Oct 2021, 18:53 Adrian Mariano, avm4@cornell.edu wrote:

If it's a 2d model why wouldn't you make 2d polygons for your design
elements and just leave them 2d?  Why do you want to extrude them if
you're always going to view from the top?

On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor

plans?

Background: I'm re-doing my home's circuit-breaker map which shows the

home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected to.
My original map was done in Sketchup which, for various reasons, I am
moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem

to be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be able

to specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the

specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design

elements (walls, cabinets, symbols for switches, outlets, etc) and linear
extrude them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or

suggestions?

Thanks!  Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Adrian Mariano, I wasn't sure that things like hull() would work on 2D polygons. Apparently, hull() does work. So, yes, I'll stick with 2D unless something weird comes up. On Sat, Oct 9, 2021 at 6:15 PM A. Craig West <acraigwest@gmail.com> wrote: > I do wish openscad wasn't so focused on 3d printing. It would be a > brilliant tool for generating svgs for laser cutting, as well as things > like floor plans > > On Sat, 9 Oct 2021, 18:53 Adrian Mariano, <avm4@cornell.edu> wrote: > >> If it's a 2d model why wouldn't you make 2d polygons for your design >> elements and just leave them 2d? Why do you want to extrude them if >> you're always going to view from the top? >> >> On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann >> <lenstruttmann@gmail.com> wrote: >> > >> > Good day! Has anyone here tried to use OpenSCAD for doing home floor >> plans? >> > >> > Background: I'm re-doing my home's circuit-breaker map which shows the >> home's room layout and locations of all of the outlets, lights, and >> switches, with labels to show which circuit breaker each is connected to. >> My original map was done in Sketchup which, for various reasons, I am >> moving away from. >> > >> > I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem >> to be overkill for this project, to the point of being overwhelming. >> > >> > My intent is to make this completely table driven. i'd like to be able >> to specify a parameter, e.g., >> > >> > module firstFloor(circuitBreakerNumber)... >> > >> > ...so that the floor plan and only those components connected to the >> specified circuit break are shown. >> > >> > My first thoughts were to create 2D polygons for all of the design >> elements (walls, cabinets, symbols for switches, outlets, etc) and linear >> extrude them a minimal amount, always viewing from the Top. >> > >> > So, has anyone done anything like this? Any hints, pointers, or >> suggestions? >> > >> > Thanks! Len >> > >> > >> > _______________________________________________ >> > OpenSCAD mailing list >> > To unsubscribe send an email to discuss-leave@lists.openscad.org >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
LM
Leonard Martin Struttmann
Sun, Oct 10, 2021 12:39 AM

It turns out that I will need to do either linear_extrude() or translate()
if I want to use colors. For example, here is a switchplate with colors to
show the slap switches.  I'll need to raise the switches just a bit to get
the colors correct. Without using colors, it displays up as a single
object, the switches are invisible.

On Sat, Oct 9, 2021 at 6:45 PM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

Adrian Mariano, I wasn't sure that things like hull() would work on 2D
polygons.  Apparently, hull() does work. So, yes, I'll stick with 2D unless
something weird comes up.

On Sat, Oct 9, 2021 at 6:15 PM A. Craig West acraigwest@gmail.com wrote:

I do wish openscad wasn't so focused on 3d printing. It would be a
brilliant tool for generating svgs for laser cutting, as well as things
like floor plans

On Sat, 9 Oct 2021, 18:53 Adrian Mariano, avm4@cornell.edu wrote:

If it's a 2d model why wouldn't you make 2d polygons for your design
elements and just leave them 2d?  Why do you want to extrude them if
you're always going to view from the top?

On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor

plans?

Background: I'm re-doing my home's circuit-breaker map which shows the

home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected to.
My original map was done in Sketchup which, for various reasons, I am
moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they

seem to be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be

able to specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the

specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design

elements (walls, cabinets, symbols for switches, outlets, etc) and linear
extrude them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or

suggestions?

Thanks!  Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

It turns out that I will need to do either linear_extrude() or translate() if I want to use colors. For example, here is a switchplate with colors to show the slap switches. I'll need to raise the switches just a bit to get the colors correct. Without using colors, it displays up as a single object, the switches are invisible. On Sat, Oct 9, 2021 at 6:45 PM Leonard Martin Struttmann < lenstruttmann@gmail.com> wrote: > > > Adrian Mariano, I wasn't sure that things like hull() would work on 2D > polygons. Apparently, hull() does work. So, yes, I'll stick with 2D unless > something weird comes up. > > > On Sat, Oct 9, 2021 at 6:15 PM A. Craig West <acraigwest@gmail.com> wrote: > >> I do wish openscad wasn't so focused on 3d printing. It would be a >> brilliant tool for generating svgs for laser cutting, as well as things >> like floor plans >> >> On Sat, 9 Oct 2021, 18:53 Adrian Mariano, <avm4@cornell.edu> wrote: >> >>> If it's a 2d model why wouldn't you make 2d polygons for your design >>> elements and just leave them 2d? Why do you want to extrude them if >>> you're always going to view from the top? >>> >>> On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann >>> <lenstruttmann@gmail.com> wrote: >>> > >>> > Good day! Has anyone here tried to use OpenSCAD for doing home floor >>> plans? >>> > >>> > Background: I'm re-doing my home's circuit-breaker map which shows the >>> home's room layout and locations of all of the outlets, lights, and >>> switches, with labels to show which circuit breaker each is connected to. >>> My original map was done in Sketchup which, for various reasons, I am >>> moving away from. >>> > >>> > I've looked at FreeCad's Draft, Arch, and BIM workbenches and they >>> seem to be overkill for this project, to the point of being overwhelming. >>> > >>> > My intent is to make this completely table driven. i'd like to be >>> able to specify a parameter, e.g., >>> > >>> > module firstFloor(circuitBreakerNumber)... >>> > >>> > ...so that the floor plan and only those components connected to the >>> specified circuit break are shown. >>> > >>> > My first thoughts were to create 2D polygons for all of the design >>> elements (walls, cabinets, symbols for switches, outlets, etc) and linear >>> extrude them a minimal amount, always viewing from the Top. >>> > >>> > So, has anyone done anything like this? Any hints, pointers, or >>> suggestions? >>> > >>> > Thanks! Len >>> > >>> > >>> > _______________________________________________ >>> > OpenSCAD mailing list >>> > To unsubscribe send an email to discuss-leave@lists.openscad.org >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
AM
Adrian Mariano
Sun, Oct 10, 2021 12:49 AM

The colors are bad because you're not viewing directly from the top.  Click
on the top view button and colors will be fine.

On Sat, Oct 9, 2021 at 8:39 PM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

It turns out that I will need to do either linear_extrude() or translate()
if I want to use colors. For example, here is a switchplate with colors to
show the slap switches.  I'll need to raise the switches just a bit to get
the colors correct. Without using colors, it displays up as a single
object, the switches are invisible.

On Sat, Oct 9, 2021 at 6:45 PM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

Adrian Mariano, I wasn't sure that things like hull() would work on 2D
polygons.  Apparently, hull() does work. So, yes, I'll stick with 2D unless
something weird comes up.

On Sat, Oct 9, 2021 at 6:15 PM A. Craig West acraigwest@gmail.com
wrote:

I do wish openscad wasn't so focused on 3d printing. It would be a
brilliant tool for generating svgs for laser cutting, as well as things
like floor plans

On Sat, 9 Oct 2021, 18:53 Adrian Mariano, avm4@cornell.edu wrote:

If it's a 2d model why wouldn't you make 2d polygons for your design
elements and just leave them 2d?  Why do you want to extrude them if
you're always going to view from the top?

On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor

plans?

Background: I'm re-doing my home's circuit-breaker map which shows

the home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected to.
My original map was done in Sketchup which, for various reasons, I am
moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they

seem to be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be

able to specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the

specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design

elements (walls, cabinets, symbols for switches, outlets, etc) and linear
extrude them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or

suggestions?

Thanks!  Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

The colors are bad because you're not viewing directly from the top. Click on the top view button and colors will be fine. On Sat, Oct 9, 2021 at 8:39 PM Leonard Martin Struttmann < lenstruttmann@gmail.com> wrote: > It turns out that I will need to do either linear_extrude() or translate() > if I want to use colors. For example, here is a switchplate with colors to > show the slap switches. I'll need to raise the switches just a bit to get > the colors correct. Without using colors, it displays up as a single > object, the switches are invisible. > > On Sat, Oct 9, 2021 at 6:45 PM Leonard Martin Struttmann < > lenstruttmann@gmail.com> wrote: > >> >> >> Adrian Mariano, I wasn't sure that things like hull() would work on 2D >> polygons. Apparently, hull() does work. So, yes, I'll stick with 2D unless >> something weird comes up. >> >> >> On Sat, Oct 9, 2021 at 6:15 PM A. Craig West <acraigwest@gmail.com> >> wrote: >> >>> I do wish openscad wasn't so focused on 3d printing. It would be a >>> brilliant tool for generating svgs for laser cutting, as well as things >>> like floor plans >>> >>> On Sat, 9 Oct 2021, 18:53 Adrian Mariano, <avm4@cornell.edu> wrote: >>> >>>> If it's a 2d model why wouldn't you make 2d polygons for your design >>>> elements and just leave them 2d? Why do you want to extrude them if >>>> you're always going to view from the top? >>>> >>>> On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann >>>> <lenstruttmann@gmail.com> wrote: >>>> > >>>> > Good day! Has anyone here tried to use OpenSCAD for doing home floor >>>> plans? >>>> > >>>> > Background: I'm re-doing my home's circuit-breaker map which shows >>>> the home's room layout and locations of all of the outlets, lights, and >>>> switches, with labels to show which circuit breaker each is connected to. >>>> My original map was done in Sketchup which, for various reasons, I am >>>> moving away from. >>>> > >>>> > I've looked at FreeCad's Draft, Arch, and BIM workbenches and they >>>> seem to be overkill for this project, to the point of being overwhelming. >>>> > >>>> > My intent is to make this completely table driven. i'd like to be >>>> able to specify a parameter, e.g., >>>> > >>>> > module firstFloor(circuitBreakerNumber)... >>>> > >>>> > ...so that the floor plan and only those components connected to the >>>> specified circuit break are shown. >>>> > >>>> > My first thoughts were to create 2D polygons for all of the design >>>> elements (walls, cabinets, symbols for switches, outlets, etc) and linear >>>> extrude them a minimal amount, always viewing from the Top. >>>> > >>>> > So, has anyone done anything like this? Any hints, pointers, or >>>> suggestions? >>>> > >>>> > Thanks! Len >>>> > >>>> > >>>> > _______________________________________________ >>>> > OpenSCAD mailing list >>>> > To unsubscribe send an email to discuss-leave@lists.openscad.org >>>> _______________________________________________ >>>> OpenSCAD mailing list >>>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >> _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
LM
Leonard Martin Struttmann
Sun, Oct 10, 2021 12:59 AM

Ahhh!  Thanks!

On Sat, Oct 9, 2021 at 7:50 PM Adrian Mariano avm4@cornell.edu wrote:

The colors are bad because you're not viewing directly from the top.
Click on the top view button and colors will be fine.

On Sat, Oct 9, 2021 at 8:39 PM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

It turns out that I will need to do either linear_extrude() or
translate() if I want to use colors. For example, here is a switchplate
with colors to show the slap switches.  I'll need to raise the switches
just a bit to get the colors correct. Without using colors, it displays up
as a single object, the switches are invisible.

On Sat, Oct 9, 2021 at 6:45 PM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

Adrian Mariano, I wasn't sure that things like hull() would work on 2D
polygons.  Apparently, hull() does work. So, yes, I'll stick with 2D unless
something weird comes up.

On Sat, Oct 9, 2021 at 6:15 PM A. Craig West acraigwest@gmail.com
wrote:

I do wish openscad wasn't so focused on 3d printing. It would be a
brilliant tool for generating svgs for laser cutting, as well as things
like floor plans

On Sat, 9 Oct 2021, 18:53 Adrian Mariano, avm4@cornell.edu wrote:

If it's a 2d model why wouldn't you make 2d polygons for your design
elements and just leave them 2d?  Why do you want to extrude them if
you're always going to view from the top?

On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor

plans?

Background: I'm re-doing my home's circuit-breaker map which shows

the home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected to.
My original map was done in Sketchup which, for various reasons, I am
moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they

seem to be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be

able to specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the

specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design

elements (walls, cabinets, symbols for switches, outlets, etc) and linear
extrude them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or

suggestions?

Thanks!  Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Ahhh! Thanks! On Sat, Oct 9, 2021 at 7:50 PM Adrian Mariano <avm4@cornell.edu> wrote: > The colors are bad because you're not viewing directly from the top. > Click on the top view button and colors will be fine. > > On Sat, Oct 9, 2021 at 8:39 PM Leonard Martin Struttmann < > lenstruttmann@gmail.com> wrote: > >> It turns out that I will need to do either linear_extrude() or >> translate() if I want to use colors. For example, here is a switchplate >> with colors to show the slap switches. I'll need to raise the switches >> just a bit to get the colors correct. Without using colors, it displays up >> as a single object, the switches are invisible. >> >> On Sat, Oct 9, 2021 at 6:45 PM Leonard Martin Struttmann < >> lenstruttmann@gmail.com> wrote: >> >>> >>> >>> Adrian Mariano, I wasn't sure that things like hull() would work on 2D >>> polygons. Apparently, hull() does work. So, yes, I'll stick with 2D unless >>> something weird comes up. >>> >>> >>> On Sat, Oct 9, 2021 at 6:15 PM A. Craig West <acraigwest@gmail.com> >>> wrote: >>> >>>> I do wish openscad wasn't so focused on 3d printing. It would be a >>>> brilliant tool for generating svgs for laser cutting, as well as things >>>> like floor plans >>>> >>>> On Sat, 9 Oct 2021, 18:53 Adrian Mariano, <avm4@cornell.edu> wrote: >>>> >>>>> If it's a 2d model why wouldn't you make 2d polygons for your design >>>>> elements and just leave them 2d? Why do you want to extrude them if >>>>> you're always going to view from the top? >>>>> >>>>> On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann >>>>> <lenstruttmann@gmail.com> wrote: >>>>> > >>>>> > Good day! Has anyone here tried to use OpenSCAD for doing home floor >>>>> plans? >>>>> > >>>>> > Background: I'm re-doing my home's circuit-breaker map which shows >>>>> the home's room layout and locations of all of the outlets, lights, and >>>>> switches, with labels to show which circuit breaker each is connected to. >>>>> My original map was done in Sketchup which, for various reasons, I am >>>>> moving away from. >>>>> > >>>>> > I've looked at FreeCad's Draft, Arch, and BIM workbenches and they >>>>> seem to be overkill for this project, to the point of being overwhelming. >>>>> > >>>>> > My intent is to make this completely table driven. i'd like to be >>>>> able to specify a parameter, e.g., >>>>> > >>>>> > module firstFloor(circuitBreakerNumber)... >>>>> > >>>>> > ...so that the floor plan and only those components connected to the >>>>> specified circuit break are shown. >>>>> > >>>>> > My first thoughts were to create 2D polygons for all of the design >>>>> elements (walls, cabinets, symbols for switches, outlets, etc) and linear >>>>> extrude them a minimal amount, always viewing from the Top. >>>>> > >>>>> > So, has anyone done anything like this? Any hints, pointers, or >>>>> suggestions? >>>>> > >>>>> > Thanks! Len >>>>> > >>>>> > >>>>> > _______________________________________________ >>>>> > OpenSCAD mailing list >>>>> > To unsubscribe send an email to discuss-leave@lists.openscad.org >>>>> _______________________________________________ >>>>> OpenSCAD mailing list >>>>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>>>> >>>> _______________________________________________ >>>> OpenSCAD mailing list >>>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>>> >>> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
TO
Trevor Orr
Sun, Oct 10, 2021 1:34 AM

I use openscad for generating all kinds of things for laser cutting.

On October 9, 2021 4:15:33 PM "A. Craig West" acraigwest@gmail.com wrote:

I do wish openscad wasn't so focused on 3d printing. It would be a
brilliant tool for generating svgs for laser cutting, as well as things
like floor plans

On Sat, 9 Oct 2021, 18:53 Adrian Mariano, avm4@cornell.edu wrote:
If it's a 2d model why wouldn't you make 2d polygons for your design
elements and just leave them 2d?  Why do you want to extrude them if
you're always going to view from the top?

On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor plans?

Background: I'm re-doing my home's circuit-breaker map which shows the
home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected to.
My original map was done in Sketchup which, for various reasons, I am
moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem to
be overkill for this project, to the point of being overwhelming.

My intent is to make this completely table driven.  i'd like to be able to
specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the
specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design elements
(walls, cabinets, symbols for switches, outlets, etc) and linear extrude
them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or suggestions?

Thanks!  Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I use openscad for generating all kinds of things for laser cutting. On October 9, 2021 4:15:33 PM "A. Craig West" <acraigwest@gmail.com> wrote: > I do wish openscad wasn't so focused on 3d printing. It would be a > brilliant tool for generating svgs for laser cutting, as well as things > like floor plans > > On Sat, 9 Oct 2021, 18:53 Adrian Mariano, <avm4@cornell.edu> wrote: > If it's a 2d model why wouldn't you make 2d polygons for your design > elements and just leave them 2d? Why do you want to extrude them if > you're always going to view from the top? > > On Sat, Oct 9, 2021 at 6:49 PM Leonard Martin Struttmann > <lenstruttmann@gmail.com> wrote: >> >> Good day! Has anyone here tried to use OpenSCAD for doing home floor plans? >> >> Background: I'm re-doing my home's circuit-breaker map which shows the >> home's room layout and locations of all of the outlets, lights, and >> switches, with labels to show which circuit breaker each is connected to. >> My original map was done in Sketchup which, for various reasons, I am >> moving away from. >> >> I've looked at FreeCad's Draft, Arch, and BIM workbenches and they seem to >> be overkill for this project, to the point of being overwhelming. >> >> My intent is to make this completely table driven. i'd like to be able to >> specify a parameter, e.g., >> >> module firstFloor(circuitBreakerNumber)... >> >> ...so that the floor plan and only those components connected to the >> specified circuit break are shown. >> >> My first thoughts were to create 2D polygons for all of the design elements >> (walls, cabinets, symbols for switches, outlets, etc) and linear extrude >> them a minimal amount, always viewing from the Top. >> >> So, has anyone done anything like this? Any hints, pointers, or suggestions? >> >> Thanks! Len >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
RC
Ray Cadmus
Sun, Oct 10, 2021 2:11 AM

You might try Googling "home assistant floor plan".  Lots of approaches
to the idea.  This sample starts by using "saweethome" for the plan and
moves on from there.  I love sweet home myself - 3d floor plans...

https://aarongodfrey.dev/home%20automation/floorplan-in-home-assistant/

http://www.sweethome3d.com/

Regards,

Ray

--

On 10/9/21 5:46 PM, Leonard Martin Struttmann wrote:

Good day! Has anyone here tried to use OpenSCAD for doing home floor
plans?

Background: I'm re-doing my home's circuit-breaker map which shows the
home's room layout and locations of all of the outlets, lights, and
switches, with labels to show which circuit breaker each is connected
to.  My original map was done in Sketchup which, for various reasons,
I am moving away from.

I've looked at FreeCad's Draft, Arch, and BIM workbenches and
they seem to be overkill for this project, to the point of being
overwhelming.

My intent is to make this completely table driven.  i'd like to be
able to specify a parameter, e.g.,

module firstFloor(circuitBreakerNumber)...

...so that the floor plan and only those components connected to the
specified circuit break are shown.

My first thoughts were to create 2D polygons for all of the design
elements (walls, cabinets, symbols for switches, outlets, etc) and
linear extrude them a minimal amount, always viewing from the Top.

So, has anyone done anything like this?  Any hints, pointers, or
suggestions?

Thanks! Len


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

You might try Googling "home assistant floor plan".  Lots of approaches to the idea.  This sample starts by using "saweethome" for the plan and moves on from there.  I love sweet home myself - 3d floor plans... https://aarongodfrey.dev/home%20automation/floorplan-in-home-assistant/ http://www.sweethome3d.com/ Regards, Ray -- On 10/9/21 5:46 PM, Leonard Martin Struttmann wrote: > Good day! Has anyone here tried to use OpenSCAD for doing home floor > plans? > > Background: I'm re-doing my home's circuit-breaker map which shows the > home's room layout and locations of all of the outlets, lights, and > switches, with labels to show which circuit breaker each is connected > to.  My original map was done in Sketchup which, for various reasons, > I am moving away from. > > I've looked at FreeCad's Draft, Arch, and BIM workbenches and > they seem to be overkill for this project, to the point of being > overwhelming. > > My intent is to make this completely table driven.  i'd like to be > able to specify a parameter, e.g., > > module firstFloor(circuitBreakerNumber)... > > ...so that the floor plan and only those components connected to the > specified circuit break are shown. > > My first thoughts were to create 2D polygons for all of the design > elements (walls, cabinets, symbols for switches, outlets, etc) and > linear extrude them a minimal amount, always viewing from the Top. > > So, has anyone done anything like this?  Any hints, pointers, or > suggestions? > > Thanks! Len > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JB
Jordan Brown
Mon, Oct 11, 2021 1:29 AM

I haven't done 2D floor plans.

I have done a 3D house model.

https://www.thingiverse.com/thing:4264614

Though, come to think of it, I think it has a mode where it will flatten
things out and produce a 2D drawing.

I haven't done 2D floor plans. I *have* done a 3D house model. https://www.thingiverse.com/thing:4264614 Though, come to think of it, I think it has a mode where it will flatten things out and produce a 2D drawing.