Posted
625 views
54 downloads
1 points
625 views
54 downloads
1 points
label lobe_sep(114 * units.deg)
label lobe_advance(0 * units.deg)
// 1 for normal direction, -1 for reverse direction
label is_not_reverse(1)
generated_camshaft camshaft(
lobe_profile: "N/A",
intake_lobe_profile: intake_lobe,
exhaust_lobe_profile: exhaust_lobe,
intake_lobe_center: (lobe_sep - lobe_advance) * is_not_reverse,
exhaust_lobe_center: (lobe_sep + lobe_advance) * is_not_reverse,
base_radius: 700 * units.thou
)
main.mr
import "engine_sim.mr" import "themes/default.mr" import "engines/abdullahaj/viper.mr" use_default_theme() set_engine(generated_engine())