subject
Engineering, 27.11.2019 05:31 bob8939

Drawing program your assignment is to write a python program that extends the interactive sketching program that you did for homework problem 4 and 5. this time, however, the program will have additional features that you might find in a commercial drawing program. drawing tool selection is done from a menu of tools displayed along one side of the screen. each tool menu button should include a small "icon" to identify its function. you are free to design these icons as you wish, but they should clearly indicate the tool functions. the following tools should be available: pencil -- pencil line simply draws using the mouse when the left mouse button is depressed. line -- straight line draws a "rubber-band" straight line with starting point at the position where the mouse left button is pressed, and ending point at the current mouse position as long as the button is held down. when the button is released, the line is permanently drawn. box -- outlined rectangle draws an outlined rectangle, with one corner at the position where the mouse left button is pressed, and diagonally opposite corner at the current mouse position as long as the button is held down. when the button is released, the outline of the rectangle is permanently drawn. rectangle -- filled rectangle draws an outlined rectangle, with one corner at the position where the mouse left button is pressed, and diagonally opposite corner at the current mouse position as long as the button is held down. when the button is released, the filled rectangle is permanently drawn. circle -- draws an outlined circle, with its center at the position where the mouse left button is pressed, and its radius determined by the current mouse position as long as the button is held down. when the button is released, the outline of the circle is permanently drawn.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 12:10
On a average work day more than work place firs are reorted
Answers: 1
question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
You know the right answer?
Drawing program your assignment is to write a python program that extends the interactive sketching...
Questions
question
Mathematics, 03.09.2021 01:00
question
Mathematics, 03.09.2021 01:00
question
Mathematics, 03.09.2021 01:00
question
Arts, 03.09.2021 01:00
question
English, 03.09.2021 01:00
question
Mathematics, 03.09.2021 01:00
question
Mathematics, 03.09.2021 01:00
question
Mathematics, 03.09.2021 01:00