Modeller Region

Modeller Region - Introduction of Modeller Region with how to use step-by-step instruction - Mensajes

#41 Publicado: 3/11/2018 10:28:11
Martin_B

Martin_B

22 me gusta en 84 mensajes.

Grupo: User

Hi!

At the moment I cannot drag any object from the template pane to the modeller region.
I am using 0.99 (6839)
But you can test it easily by opening the example in the first post online. There it doesn't work, too.
Also the tooltip by hovering the any template objects appears only rarely.

Editing already exiting objects works fine.

kind regards,
Martin
#42 Publicado: 4/11/2018 13:40:54
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

At the moment I cannot drag any object from the template pane to the modeller region.



From the 5 years ago # post, it looks like Modeller was left in limbo.
6179 has no object in the template pane... just a dead cumbersome
region of no use for real projects.

ModellerLimbo.PNG
#43 Publicado: 4/11/2018 15:44:19
Martin_B

Martin_B

22 me gusta en 84 mensajes.

Grupo: User

Wrote


I am using 0.99 (6839)
But you can test it easily by opening the example in the first post online.


Or offline:
modeller.PNG
#44 Publicado: 4/11/2018 22:27:36
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

I am using 0.99 (6839)



I can reproduce Martin example [some comments added]

ModellerMartin.PNG
#45 Publicado: 18/11/2018 15:53:18
Dominik Skrycki

Dominik Skrycki

0 me gusta en 3 mensajes.

Grupo: User

The "Drag and drop" function is not working.
I have downloaded an examples with modeller region and I can move/change shapes in modeller but I can't add new shapes from templates bar.
Does anybody can help ?
#46 Publicado: 18/11/2018 21:11:55
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

I can't add new shapes from templates bar.



I can't add new shapes from templates bar.
You can only add shapes that you have created or borrowed from unknown sources

In this document, two objects were created and installed in the template
N =5 => yellow square
N 13 => light gray dodecagon

Check if it works in your SS version

modeller-demo-Kr.sm (15,04 KiB) descargado 1532 vez(es).
#47 Publicado: 19/11/2018 3:35:00
Dominik Skrycki

Dominik Skrycki

0 me gusta en 3 mensajes.

Grupo: User

Thank you Jean for help.
I have opened your document and I see that 3 shapes (2 dodecagon and 1 square) have you added to moddeller work space from template bar.
But I can't select and add any shape from template.
As I said - drag and drop function not works.

One more thing.
I have downloaded "RainboGame.exe" and drag and drop function works fine.
But it has not work in "exe" files created by me.
#48 Publicado: 19/11/2018 6:00:38
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

Wrote

At the moment I cannot drag any object from the template pane to the modeller region.


Wrote

The "Drag and drop" function is not working



Updated, please try now.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#49 Publicado: 19/11/2018 13:18:05
Dominik Skrycki

Dominik Skrycki

0 me gusta en 3 mensajes.

Grupo: User

Thank you Davide for help.
Now I can drag and drop shapes but I can't zoom in and out shapes using mouse scroll.
#50 Publicado: 19/11/2018 20:37:39
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

You're welcome

Wrote

Now I can drag and drop shapes but I can't zoom in and out shapes using mouse scroll.


You can only zoom the modeller canvas, not the single shapes (even in previous versions).


P.S. another update made because templates weren't detected on mouse move (no template name shown, f.e.)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#51 Publicado: 19/11/2018 21:21:08
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

You can only zoom the modeller canvas, not the single shapes (even in previous versions).


SS 6179, zoom is by handles and thus fabricate otherwise than native.
1. The blue line come automatically 45° ... make it as thick as desired.
2. The arrow, you can rotate at will from the creation.
Observe the the empty "" fill arrow
3. Fill color applies to closed shapes
4. for some weird figure it can be done by digitizing and collecting the XY vector.
Modeler takes only pairwise XY vector ... not matrix

Modeller.PNG

modeller-demo-Kr.sm (27,66 KiB) descargado 1509 vez(es).
#52 Publicado: 19/11/2018 22:05:03
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... Airfoil added Observe => [5*Airfoil,"red",2,clr]

Modeller_1.PNG

modeller-demo-Kr.sm (39,55 KiB) descargado 1532 vez(es).
#53 Publicado: 19/11/2018 22:32:35
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... streamlines added around airfoil
Some cleanup needed ...

Modeller_2.PNG

modeller-demo-Kr.sm (133,16 KiB) descargado 1560 vez(es).
#54 Publicado: 31/12/2019 16:23:50
Ryan Freund

Ryan Freund

20 me gusta en 339 mensajes.

Grupo: User

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?


See attached.

Modeller - Shapes - Canvas Center.sm (11,29 KiB) descargado 1538 vez(es).
#55 Publicado: 31/12/2019 17:33:43
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?


Maybe YES ... in the attached objects are disposed/located.

modeller-demo-Kr.sm (162,97 KiB) descargado 1504 vez(es).
#56 Publicado: 1/1/2020 0:02:19
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?


AFAIK, not as you state it. Why do that ?
1. Slide the shape [circle] in the canvas.
2. Click-in to see the dotted frame [3 big black dots per side]
3. Double click to get the coordinated [X,Y]...[0,0 = centered canvas]
...width/height for circle/ellipse ...size the shape [zoom ±].
If you have some difficulties ... please don't hesitate.
#57 Publicado: 1/1/2020 0:51:16
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... you can toy things for an all evening demo.

Modeller.PNG

modeller-demo-Kr.sm (164,23 KiB) descargado 1564 vez(es).
#58 Publicado: 3/1/2020 10:04:16
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Jean, in your example you could specify an appropriate default size of the objects. Then the arrow template doesn't appear as a single dot any more.

2020-01-03 13_59_21-SMath Studio 0.99.7251 - [modeller-demo-Kr.sm_].png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#59 Publicado: 3/1/2020 10:47:42
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Wrote

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?



Yes, but to make it interactive, you need slider regions. Use a function as predefined layout. It's third and fourth arguments are channels to convey the canvas co-ordinates.
The canvas is centered at these co-ordinates, evaluated for the default scale.
The default scale is given by the second entry of the dependent layout row vector.

Modeller%20-%20Shapes%20-%20Canvas%20Center_Kr.sm (13,6 KiB) descargado 1815 vez(es).
2020-01-03 14_33_43-SMath Studio 0.99.7251 - [Modeller%20-%20Shapes%20-%20Canvas%20Center.sm_].png

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 2 usuarios les gustó este mensaje
Jason McCool 10/4/2021 0:34:00, frapuano 3/1/2020 15:37:00
#60 Publicado: 3/1/2020 12:00:42
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Jean, in your example you could specify an appropriate default size of the objects. Then the arrow template doesn't appear as a single dot any more.


Thanks Martin, most appreciated ... updated.

modeller-demo-Kr.sm (162,81 KiB) descargado 1579 vez(es).

  • Nuevos mensajes
  • Sin mensajes nuevos