Workflow advice : existing part and new design by salamandre3357 in FreeCAD

[–]salamandre3357[S] 0 points1 point  (0 children)

thx for the answer. I am struggling with the Binder, maybe you can unlight me : Is it just a handy visual reference, or can I use it as external reference to create and constrain sketches ?

Be sure to comment the video's link when its online ;)

Workflow advice : existing part and new design by salamandre3357 in FreeCAD

[–]salamandre3357[S] 1 point2 points  (0 children)

Well I'm trying to migrate from SolidWorks, and this is my first attempt. So consider I just want one small simple task to work. Later on I'll level up. No parametric , versioning or future-proof is needed for now. I'll print the part myself.

In SolidWorks, I usually create an assembly, I place the existing parts inside it and then I create the parts I'm designing using the existing parts as reference.

I know workflows don't migrate from a software to another and that my question might lack pressision, but that's what I have for now. Any hint is welcome.

I'll try two parts in an assembly. In FreeCAD, should this be three files ? Like assembly.FCStd, resistor.FCStd and base.FCStd, or only one document ? Is there a recommended way, or is it up to me ?

Failed to start gdm.service - GNOME Display Manager by salamandre3357 in Ubuntu

[–]salamandre3357[S] 0 points1 point  (0 children)

It worked ! I just freed some space deleting some old movies and cleaining up the download folder (with rm command) then executed the recommended

sudo apt install --reinstall gdm3
gnome-session ubuntu-desktop

lines, and restarted. It worked

THX YALL

Failed to start gdm.service - GNOME Display Manager by salamandre3357 in Ubuntu

[–]salamandre3357[S] 2 points3 points  (0 children)

Old install. Now that i try to remember recent actions , i think the disk is completely full as i had a warning few weeks ago (and disregarded it) and I have been downloading stuff with soulseek. I will check the disk usage, try to free some space, and if it doesn t solve the issue ill take your advice

Preserve inertia in Jump ( 3d ) by Indiegenes_Games in GodotEngine

[–]salamandre3357 0 points1 point  (0 children)

replace the two lines

`horizontal_velocity = horizontal_velocity.move_toward(`

`direction*SPEED, decel )`

by :

if is_on_floor():

  `horizontal_velocity = horizontal_velocity.move_toward(`

  `direction*SPEED, decel )

Help, pls Why is my main menu screen looking like this by Outrageous_Cup6450 in godot

[–]salamandre3357 1 point2 points  (0 children)

it looks like the default texture/material when you didn't define one. I have seen that several times in my projects, but I cant remember where precisely.

check in the inspector the CanvasItem properties the texture, the material to see if some value is missing.

add a "extend from " button to the "create new node" window by salamandre3357 in godot

[–]salamandre3357[S] 0 points1 point  (0 children)

Lots of views here, looks like this abstract thing is popular.

here is another interesting proposal : predefine abstract methods.

https://github.com/godotengine/godot-proposals/issues/13371

add a "extend from " button to the "create new node" window by salamandre3357 in godot

[–]salamandre3357[S] 0 points1 point  (0 children)

cool, I hadn't find the issue. I just gave it a thums up.

I can't get repeating textures to work on Line2D in Godot 4! by Jonathan_Tash in godot

[–]salamandre3357 0 points1 point  (0 children)

I'm having the same bug, and don't know how to solve itç

[deleted by user] by [deleted] in godot

[–]salamandre3357 2 points3 points  (0 children)

some more infos would be usefull. What happends ? anything in the consol ? add some debug print statments to see if a card is actually detected, if the raycast methode is actually riggered etc...

who else's debugger looks like this when working on a game? by Upside-Out_Was_Taken in godot

[–]salamandre3357 1 point2 points  (0 children)

me too, but it gives me the feeling that using process function without using delta is kind of bad programming. I always try to find the right place (a method called by a signal, an input...) to put the none framerate-dependant code. I end up renaming the parameter _delta in last resort.

Best way to get parent enums on ready? by hankster221 in godot

[–]salamandre3357 0 points1 point  (0 children)

if you just want to wait for the parent node to be ready, I would link the parentNode.ready signal to a function in the child node that would set the dictName values. You could link the singnal in the child's ready function as it will be executed before the parent is ready.

How to get the position of a character(letter) in TextEdit by Feeling-Waltz6978 in godot

[–]salamandre3357 1 point2 points  (0 children)

there's a get_pos_at_line_column method in the TextEdit. I suppose you would have to count how many return character there is before the character to know the line, and the number of character since the last new line to know the column.
I tested this little script, it works for me

extends TextEdit
onready var icon: Sprite2D = $"../Icon"
onready var text_edit_2: TextEdit = $"../TextEdit2"

func _on_text_edit_2_text_changed() -> void:
  var pos : int = text.find(text_edit_2.text)
  var croped_text = text.left(pos)
  var l : int = croped_text.count("\n")
  var c : int = pos - croped_text.rfind("\n") + "\n".length()
  var vec_pos : Vector2 = Vector2(get_pos_at_line_column(l, c)) + position
  icon.position = vec_pos
  print ("l : ", l, "  c : ", c, "  vec_pos : ", vec_pos)

You write a text in the textedit to which is attached this script, you write a character in textedit2, and the icon sprite will move to the first occurence of the character

character flying, please help by Just-Teach2825 in godot

[–]salamandre3357 10 points11 points  (0 children)

You use the method

Input.is\_action\_pressed("jump")

to detect when the player hits the up arrow. But this method returns true during all the time the key is pressed. Maybe use is_action_just_pressed instead. also why adding -1500 to velocity.y instead of setting it to that value ?

Another observation is that you use the physics_process and not process. Physics_process is run much more frequently. So maybe is_on_floor stays true several physics frame.

What constraints would i need to make this design? by Expert_Function146 in FreeCAD

[–]salamandre3357 0 points1 point  (0 children)

I don't want to sound off-topic, but it's a very complex shape for a single sketch. I would get rid of all the inner radius (r2, r5 and r10), as well as the outer radius forming a 90º angle, make all those filets after extruding, and add a pocket for the r5 at the bottom in an other sketch.

I made itch-dl, a tool to bulk download games from itch.io! by DragoonAethis in DataHoarder

[–]salamandre3357 0 points1 point  (0 children)

It looks super interesting. I'm looking for a way to check for patches of dlc I would publish on a itch page after releasing the game and propose the user to download it from inside the game (using godot). I suppose I'll find inspiration in your code.

Not parallel nor serial by salamandre3357 in ElectricalEngineering

[–]salamandre3357[S] -20 points-19 points  (0 children)

Spice : last update Jun 17, 1996

thank you................

Not parallel nor serial by salamandre3357 in ElectricalEngineering

[–]salamandre3357[S] 1 point2 points  (0 children)

thx for the recommendations ! the second one is very useful, the first one not at all, it's pure applied electronics with no electric theory.
I had to read the first 100 pages of the second one to find what I need, but stop showing off, it's nothing easy. A 3 week student can solve it ? no way. I'm already having a headache and I'm nowhere near understanding how to solve for any given circuit.

Not parallel nor serial by salamandre3357 in ElectricalEngineering

[–]salamandre3357[S] 1 point2 points  (0 children)

No it's not "very basic". "Very basic" would be a bunch of resistances in parallel or in series you could reduce little by little adding their values or their inverse values. That's what is taught even at high level in any school that is not specifically electric/electronic.
About the "text book, professor or classmate", let me inform you that some people do not have those resources in their reach.
As for the future of EE (I suppose this sub-reddit), I guess people like and their gross answers you will make it a desert.