Hi,

Guest

K

Ken

Fri, May 24, 2024 9:03 AM

I'm trying to use cuboid from bosl2 to round off a cube. It works fine

except that, as the help says, cuboid centers by default, and in my

object my cube is not centered.

What it doesn't say or give any examples of (that I could find) is the

syntax for center = false. I have tried every combination I can think

of, but have not yet found the magic one.

The first line is the line I have- it works fine. Below it is the cuboid

line- it just gives me the error "variable center not specified as

parameter".

cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
cuboid ([curve_diameter*3,curve_diameter

= false, rounding=2);

Can someone put me out of my misery and tell me where "center = true"

goes in a cuboid statement?

Cheers, Ken

bats059@gmail.com

https://vk7krj.com

https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.

Your job as parents is to teach them to control all three.

My job as a grandad is to tell you how you are doing it all wrong!

I'm trying to use cuboid from bosl2 to round off a cube. It works fine
except that, as the help says, cuboid centers by default, and in my
object my cube is not centered.
What it doesn't say or give any examples of (that I could find) is the
syntax for center = false. I have tried every combination I can think
of, but have not yet found the magic one.
The first line is the line I have- it works fine. Below it is the cuboid
line- it just gives me the error "variable center not specified as
parameter".
cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
cuboid ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5], center
= false, rounding=2);
Can someone put me out of my misery and tell me where "center = true"
goes in a cuboid statement?
--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html
----------------------------------------
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

HK

Hilbrand Klaver Gmail

Fri, May 24, 2024 10:11 AM

Hello Ken,

center is not a parameter cuboid has defined in it's parameter list.

See shapes3D.scad where Cuboid is defined which parameters are available.

Alternative solution:

EDGES_SIDES=[[0,0,0,0], [0,0,0,0], [1,1,1,1]]; my own parameter

cubSize=[100,100,80];

translate([0,0,cubSize[2]/2])

cuboid(

size=cubSize,

// p1, p2, // if not defined, Cuboid checks on it

//chamfer=10, // Use chamfer or rounding, not both

rounding=5,

edges=EDGES_ALL, // If you want to round e.g. the sides only you

replace EDGES_ALL by EDGES_SIDES here

except=[],

//except_edges,

trimcorners=true,

teardrop=false,

anchor=CENTER,

spin=0,

orient=UP

) ;

Hope this helps.

Regards

Hilbrand

On 24-May-24 11:03 AM, Ken via Discuss wrote:

I'm trying to use cuboid from bosl2 to round off a cube. It works fine

except that, as the help says, cuboid centers by default, and in my

object my cube is not centered.

What it doesn't say or give any examples of (that I could find) is the

syntax for center = false. I have tried every combination I can think

of, but have not yet found the magic one.

The first line is the line I have- it works fine. Below it is the

cuboid line- it just gives me the error "variable center not specified

as parameter".

cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
cuboid ([curve_diameter*3,curve_diameter

center = false, rounding=2);

Can someone put me out of my misery and tell me where "center = true"

goes in a cuboid statement?

Cheers, Ken

bats059@gmail.com

https://vk7krj.com

https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.

Your job as parents is to teach them to control all three.

My job as a grandad is to tell you how you are doing it all wrong!

OpenSCAD mailing list

To unsubscribe send an email todiscuss-leave@lists.openscad.org

Hello Ken,
center is not a parameter cuboid has defined in it's parameter list.
See shapes3D.scad where Cuboid is defined which parameters are available.
Alternative solution:
EDGES_SIDES=[[0,0,0,0], [0,0,0,0], [1,1,1,1]]; my own parameter
cubSize=[100,100,80];
translate([0,0,cubSize[2]/2])
cuboid(
size=cubSize,
// p1, p2, // if not defined, Cuboid checks on it
//chamfer=10, // Use chamfer or rounding, not both
rounding=5,
edges=EDGES_ALL, // If you want to round e.g. the sides only you
replace EDGES_ALL by EDGES_SIDES here
except=[],
//except_edges,
trimcorners=true,
teardrop=false,
anchor=CENTER,
spin=0,
orient=UP
) ;
Hope this helps.
Regards
Hilbrand
On 24-May-24 11:03 AM, Ken via Discuss wrote:
>
> I'm trying to use cuboid from bosl2 to round off a cube. It works fine
> except that, as the help says, cuboid centers by default, and in my
> object my cube is not centered.
>
> What it doesn't say or give any examples of (that I could find) is the
> syntax for center = false. I have tried every combination I can think
> of, but have not yet found the magic one.
>
> The first line is the line I have- it works fine. Below it is the
> cuboid line- it just gives me the error "variable center not specified
> as parameter".
>
> cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
> cuboid ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5],
> center = false, rounding=2);
>
> Can someone put me out of my misery and tell me where "center = true"
> goes in a cuboid statement?
>
> --
> Cheers, Ken
> bats059@gmail.com
> https://vk7krj.com
> https://vk7krj.com/running.html
> ----------------------------------------
> A baby can be defined as an ego with a noise at one end and a smell at the other.
> Your job as parents is to teach them to control all three.
> My job as a grandad is to tell you how you are doing it all wrong!
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email todiscuss-leave@lists.openscad.org

AM

Adrian Mariano

Fri, May 24, 2024 12:37 PM

BOSL2 objects are positioned using the anchor= argument. It sounds like

you may want anchor=[-1,-1,-1] or alternatively anchor=FWD+LEFT+BOT

You might want to read the tutorial:

https://github.com/BelfrySCAD/BOSL2/wiki/Tutorial-Attachments

On Fri, May 24, 2024 at 6:12 AM Hilbrand Klaver Gmail via Discuss <

discuss@lists.openscad.org> wrote:

Hello Ken,

center is not a parameter cuboid has defined in it's parameter list.

See shapes3D.scad where Cuboid is defined which parameters are available.

Alternative solution:

EDGES_SIDES=[[0,0,0,0], [0,0,0,0], [1,1,1,1]]; my own parameter

cubSize=[100,100,80];

translate([0,0,cubSize[2]/2])

cuboid(

size=cubSize,

// p1, p2, // if not defined, Cuboid checks on it

//chamfer=10, // Use chamfer or rounding, not both

rounding=5,

edges=EDGES_ALL, // If you want to round e.g. the sides only you

replace EDGES_ALL by EDGES_SIDES here

except=[],

//except_edges,

trimcorners=true,

teardrop=false,

anchor=CENTER,

spin=0,

orient=UP

) ;

Hope this helps.

Regards

Hilbrand

On 24-May-24 11:03 AM, Ken via Discuss wrote:

I'm trying to use cuboid from bosl2 to round off a cube. It works fine

except that, as the help says, cuboid centers by default, and in my object

my cube is not centered.

What it doesn't say or give any examples of (that I could find) is the

syntax for center = false. I have tried every combination I can think of,

but have not yet found the magic one.

The first line is the line I have- it works fine. Below it is the cuboid

line- it just gives me the error "variable center not specified as

parameter".

cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
cuboid ([curve_diameter*3,curve_diameter

= false, rounding=2);

Can someone put me out of my misery and tell me where "center = true" goes

in a cuboid statement?

Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.

Your job as parents is to teach them to control all three.

My job as a grandad is to tell you how you are doing it all wrong!

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

BOSL2 objects are positioned using the anchor= argument. It sounds like
you may want anchor=[-1,-1,-1] or alternatively anchor=FWD+LEFT+BOT
You might want to read the tutorial:
https://github.com/BelfrySCAD/BOSL2/wiki/Tutorial-Attachments
On Fri, May 24, 2024 at 6:12 AM Hilbrand Klaver Gmail via Discuss <
discuss@lists.openscad.org> wrote:
> Hello Ken,
>
> center is not a parameter cuboid has defined in it's parameter list.
>
> See shapes3D.scad where Cuboid is defined which parameters are available.
>
> Alternative solution:
>
> EDGES_SIDES=[[0,0,0,0], [0,0,0,0], [1,1,1,1]]; my own parameter
>
> cubSize=[100,100,80];
>
> translate([0,0,cubSize[2]/2])
> cuboid(
> size=cubSize,
> // p1, p2, // if not defined, Cuboid checks on it
> //chamfer=10, // Use chamfer or rounding, not both
> rounding=5,
> edges=EDGES_ALL, // If you want to round e.g. the sides only you
> replace EDGES_ALL by EDGES_SIDES here
> except=[],
> //except_edges,
> trimcorners=true,
> teardrop=false,
> anchor=CENTER,
> spin=0,
> orient=UP
> ) ;
>
> Hope this helps.
>
> Regards
>
> Hilbrand
> On 24-May-24 11:03 AM, Ken via Discuss wrote:
>
> I'm trying to use cuboid from bosl2 to round off a cube. It works fine
> except that, as the help says, cuboid centers by default, and in my object
> my cube is not centered.
>
> What it doesn't say or give any examples of (that I could find) is the
> syntax for center = false. I have tried every combination I can think of,
> but have not yet found the magic one.
>
> The first line is the line I have- it works fine. Below it is the cuboid
> line- it just gives me the error "variable center not specified as
> parameter".
>
> cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
> cuboid ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5], center
> = false, rounding=2);
>
> Can someone put me out of my misery and tell me where "center = true" goes
> in a cuboid statement?
>
> --
> Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html
> ----------------------------------------
> A baby can be defined as an ego with a noise at one end and a smell at the other.
> Your job as parents is to teach them to control all three.
> My job as a grandad is to tell you how you are doing it all wrong!
>
>
> _______________________________________________
> 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
>

K

Ken

Fri, May 24, 2024 1:21 PM

Many thanks Adrian- you not only fixed the problem, you also gave me a

good laugh at myself. I was an electronics tech for 30 years before I

retired, and many many times would have to write on the fault report

"RTFM"- which translates as "read the flippin' manual"!!

Your solution worked a treat- and I now have yet another manual to read.

On 2024-05-24 22:37, Adrian Mariano via Discuss wrote:

BOSL2 objects are positioned using the anchor= argument. It sounds

like you may want anchor=[-1,-1,-1] or alternatively anchor=FWD+LEFT+BOT

You might want to read the tutorial:

https://github.com/BelfrySCAD/BOSL2/wiki/Tutorial-Attachments

On Fri, May 24, 2024 at 6:12 AM Hilbrand Klaver Gmail via Discuss

discuss@lists.openscad.org wrote:

```
Hello Ken,
center is not a parameter cuboid has defined in it's parameter list.
See shapes3D.scad where Cuboid is defined which parameters are
available.
Alternative solution:
EDGES_SIDES=[[0,0,0,0], [0,0,0,0], [1,1,1,1]]; my own parameter
cubSize=[100,100,80];
translate([0,0,cubSize[2]/2])
cuboid(
size=cubSize,
// p1, p2, // if not defined, Cuboid checks on it
//chamfer=10, // Use chamfer or rounding, not both
rounding=5,
edges=EDGES_ALL, // If you want to round e.g. the sides only
you replace EDGES_ALL by EDGES_SIDES here
except=[],
//except_edges,
trimcorners=true,
teardrop=false,
anchor=CENTER,
spin=0,
orient=UP
) ;
Hope this helps.
Regards
Hilbrand
On 24-May-24 11:03 AM, Ken via Discuss wrote:
```

```
I'm trying to use cuboid from bosl2 to round off a cube. It works
fine except that, as the help says, cuboid centers by default,
and in my object my cube is not centered.
What it doesn't say or give any examples of (that I could find)
is the syntax for center = false. I have tried every combination
I can think of, but have not yet found the magic one.
The first line is the line I have- it works fine. Below it is the
cuboid line- it just gives me the error "variable center not
specified as parameter".
cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
cuboid ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5],
center = false, rounding=2);
Can someone put me out of my misery and tell me where "center =
true" goes in a cuboid statement?
--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html
----------------------------------------
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-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 todiscuss-leave@lists.openscad.org

Cheers, Ken

bats059@gmail.com

https://vk7krj.com

https://vk7krj.com/running.html

Your job as parents is to teach them to control all three.

My job as a grandad is to tell you how you are doing it all wrong!

Many thanks Adrian- you not only fixed the problem, you also gave me a
good laugh at myself. I was an electronics tech for 30 years before I
retired, and many many times would have to write on the fault report
"RTFM"- which translates as "read the flippin' manual"!!
Your solution worked a treat- and I now have yet another manual to read.
On 2024-05-24 22:37, Adrian Mariano via Discuss wrote:
> BOSL2 objects are positioned using the anchor= argument. It sounds
> like you may want anchor=[-1,-1,-1] or alternatively anchor=FWD+LEFT+BOT
>
> You might want to read the tutorial:
>
> https://github.com/BelfrySCAD/BOSL2/wiki/Tutorial-Attachments
>
> On Fri, May 24, 2024 at 6:12 AM Hilbrand Klaver Gmail via Discuss
> <discuss@lists.openscad.org> wrote:
>
> Hello Ken,
>
> center is not a parameter cuboid has defined in it's parameter list.
>
> See shapes3D.scad where Cuboid is defined which parameters are
> available.
>
> Alternative solution:
>
> EDGES_SIDES=[[0,0,0,0], [0,0,0,0], [1,1,1,1]]; my own parameter
>
> cubSize=[100,100,80];
>
> translate([0,0,cubSize[2]/2])
> cuboid(
> size=cubSize,
> // p1, p2, // if not defined, Cuboid checks on it
> //chamfer=10, // Use chamfer or rounding, not both
> rounding=5,
> edges=EDGES_ALL, // If you want to round e.g. the sides only
> you replace EDGES_ALL by EDGES_SIDES here
> except=[],
> //except_edges,
> trimcorners=true,
> teardrop=false,
> anchor=CENTER,
> spin=0,
> orient=UP
> ) ;
>
> Hope this helps.
>
> Regards
>
> Hilbrand
>
> On 24-May-24 11:03 AM, Ken via Discuss wrote:
>>
>> I'm trying to use cuboid from bosl2 to round off a cube. It works
>> fine except that, as the help says, cuboid centers by default,
>> and in my object my cube is not centered.
>>
>> What it doesn't say or give any examples of (that I could find)
>> is the syntax for center = false. I have tried every combination
>> I can think of, but have not yet found the magic one.
>>
>> The first line is the line I have- it works fine. Below it is the
>> cuboid line- it just gives me the error "variable center not
>> specified as parameter".
>>
>> cube ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5]);
>> cuboid ([curve_diameter*3,curve_diameter*2.5,curve_diameter*1.5],
>> center = false, rounding=2);
>>
>> Can someone put me out of my misery and tell me where "center =
>> true" goes in a cuboid statement?
>>
>> --
>> Cheers, Ken
>> bats059@gmail.com
>> https://vk7krj.com
>> https://vk7krj.com/running.html
>> ----------------------------------------
>> A baby can be defined as an ego with a noise at one end and a smell at the other.
>> Your job as parents is to teach them to control all three.
>> My job as a grandad is to tell you how you are doing it all wrong!
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email todiscuss-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 todiscuss-leave@lists.openscad.org
--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html
----------------------------------------
A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

Replying to:

Empathy v1.0
2024 ©Harmonylists.com